[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal for file protection extension
Michael van Acken wrote:
> > Date: Fri, 11 Dec 98 10:46:31 EST
> > From: Mike Griebling <grieblm@trt.allied.com>
> >
> > I've attached my proposal for a file protection
> > extension to the existing Files.Mod interface.
> > Basically this extension, allows users to read
> > and set file protection bits in a portable way.
>
> a) this file protection scheme is not portable, it's Unix
>
It's a subset of Unix which I believe is portable. Every
OS I'm aware of would support these file attributes.
>
> b) it does not even deal with all the bits that Unix typically
> associates with a file:
>
> S_ISUID 0004000 set UID bit
>
> S_ISGID 0002000 set GID bit
>
> S_ISVTX 0001000 sticky bit
Exactly. I wanted to make it portable.
>
>
> Does anyone share my opinion that the `Files' module should not be
> cluttered with OS specific functions?
>
Who thinks file protection is OS-specific? Every OS under the
sun has such protection (or will have it soon).
Michael G.