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

UNIX file protections?

   Date: Mon, 20 Nov 89 10:13 PST
   From: snicoud@atc.boeing.com (Stephen Nicoud)

   How can I control the default file protections when I create Ultrix/Unix
   files from my Symbolics using FTP or NFS?

There's no way to do it in FTP (there's no mechanism for specifying
protections in the FTP protocol).  In NFS, set the variable
NFS:*DEFAULT-MODE-FOR-FILES*.  For instance, if you want the protection to
be -rw-------, set it to #o600.

There are also variables NFS:*DEFAULT-MODE-FOR-DIRECTORIES* and
NFS:*DEFAULT-MODE-FOR-LINKS* (the latter is pretty worthless, since Unix
ignores the protection on symbolic links).