Re: all files are executable in vfat

Oliver Xymoron (oxymoron@waste.org)
Tue, 25 Sep 2001 13:47:17 -0500 (CDT)


On Tue, 25 Sep 2001, Alexander Viro wrote:

> On Tue, 25 Sep 2001, Oliver Xymoron wrote:
>
> > Don't know if you already did this with umask, but {umask dmask uid gid}
> > probably make sense as per-mountpoint options rather than VFAT-specific
> > ones.
>
> OK, let me put it that way: we need to turn stat() into method call
> rather than blind access to inode fields. Then all these problems
> will be very easy to deal with. Variants of such patch exist and
> there is no reasons preventing them that stuff in 2.4 (i.e. no
> changes are required in filesystems), but it still needs more local
> testing.

Mmm.. all of the above are orthogonal options and yet still part of
stat(), so it's not obvious to me how abstracting stat helps here. It
seems you'd need something like stackable filters over a generic (or
fs-specific) stat().

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/