🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.misc
Article #8

Re: default umask settings when ftp'ing a file

#8
From: William Unruh
Date: Tue, 27 Oct 1992 23:52
25 lines
1582 bytes
karrer@bernina.ethz.ch (Andreas Karrer) writes:


>tell your system administrator to put a line
>	umask 022
>or
>	umask 027
>or so at the top of /etc/rc (or whatever they call it). reboot,
>or kill and restart inetd after setting the desired umask.

>This, of course, works only on a system wide basis. For per-user
>umasks, ftpd would have to understand the syntax of any .shell-rc
>file a potential ftp user might have -- non-trivial, considering the
>current proliferation of shells.
...
>You'd be astonished how many files on a typical system are world-writeable.
>the gcc-2.2.2 distribution is such an offender.
 
 Actually what ftp needs is a umask command so that you can set your
 umask on a put. for anaonymous ftp, one really wants a umask 0f at
 least rrr, because it is often used to transfer files so that others
 than just user ftp can read them. On the other hand an individual would
 probably want a more restrictive umask into his own filesystem. So
 a way of the user specifying the umask woudl be useful. But ftp does
 not seem to have any such option.
Technical Details
Message-ID: <unruh.720229967@physics.ubc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!unruh
References: <1992Oct27.150453.507@linus.mitre.org> <1992Oct27.201224.2899@bernina.ethz.ch>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!unruh
From: unruh@physics.ubc.ca (William Unruh)
Newsgroups: comp.security.misc
Subject: Re: default umask settings when ftp'ing a file
Date: 27 Oct 92 23:52:47 GMT
Organization: The University of British Columbia
Lines: 26
Distribution: world
Message-ID: <unruh.720229967@physics.ubc.ca>
References: <1992Oct27.150453.507@linus.mitre.org> <1992Oct27.201224.2899@bernina.ethz.ch>
NNTP-Posting-Host: physics.ubc.ca