Subject: Re: file creation and perms
To: emre <emre.yildirim@us.army.mil>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-users
Date: 02/06/2001 13:22:58
emre wrote:

> On Monday 05 February 2001 18:58 US Central Time, Jeremy C. Reed wrote:
> 
> > Have a look at ftpd.conf(5); ftpd can be configured with a umask setting.
> 
> Thanks, that did the trick!  The man page said umask is set to 027 by 
> default.  So I put "umask         all    002" in /etc/ftpd.conf.  Now perms 
> are -rw-rw-r-- for uploaded files.

What is the group-id for uploaded files, and who else is a member of
that group?  I suspect that a "022" umask might be better so others
can't modify your files...

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/