[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] FTP and default rights
- Subject: Re: [cobalt-users] FTP and default rights
- From: flash22@xxxxxxx
- Date: Thu Feb 1 13:49:21 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Sun, 28 Jan 2001, Eric Arseneau wrote:
> This may be an obvious question, but here goes. I've got a site setup with
> a couple of admins. I would like them all to be able to read and write to
> any of the files and dirs on that site. The problem is that when one admin
> uploads stuff using ftp, the default is to set themselves as owner and only
> have read priviliges for the group.
>
> How do I make it such that if any of the admins put files in, that the group
> also gets write privileges automatically ?
look in proftpd.conf for Umask, it determines the file permisions set by
default (but they are inverted from the umask value) so for example
umask 022 gives you rw-r--r-- and 002 gives you rw-rw-r--
note that the umask that appears before the <VirtualHost lines if for the
entire server...put a new Umask in the Virtuallhost block if you want to
just change it for one site/IP (remember all sites sharing IP's get that
setting)
Be *very* carefull if you allow anonymous ftp, ;)