[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?

    Currently, when I save a new file from my Symbolics to my Vax [Ultrix]
    via FTP, the newly-created file has the protection "-rw-r--r--".  I'd
    like to be able to restrict it to "-rw-------".

I don't know how to do it for FTP, but for NFS you can do it this way:

(setq nfs:*default-mode-for-files* #o600)

This is for brand new files.  When superseding already existing files I
believe Symbolics NFS copies the mode from the existing version of the file.