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

UNIX file protections?



    Date: Tue, 21 Nov 89 08:19 PST
    From: Stephen Nicoud <snicoud@atc.boeing.com>

	Date: Mon, 20 Nov 89 21:11:28 EST
	From: barmar@Think.COM

	    ...

	There's no way to do it in FTP (there's no mechanism for specifying
	protections in the FTP protocol).

    I assume then that the protections that the Unixm's ftp uses are
    defined/stated/set somewhere within the Unixm.  Any ideas on where this
    is done?  Is it a special default for ftp or just a unix-wide system
    default?

I just looked at the ftpd sources, and it appears to use the system
default.  It uses fopen() to open the file, and this doesn't provide a
way to specify the protection.

                                                barmar