[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal for file protection extension



> 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

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

Does anyone share my opinion that the `Files' module should not be
cluttered with OS specific functions?

-- mva