Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 17:06:03 +0100
From:      albi <albi@scii.nl>
To:        koen de wijs <koendewijs@gmx.net>
Cc:        questions@freebsd.org
Subject:   Re: umask
Message-ID:  <20050216170603.3e7c1815.albi@scii.nl>
In-Reply-To: <42136BE0.9030103@gmx.net>
References:  <42136BE0.9030103@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Feb 2005 16:50:56 +0100
koen de wijs <koendewijs@gmx.net> wrote:

> I have a question aboout the umask under FreeBSD. I couldn't find what
> it exactly is.
> It is something for setting files how you set the 'xrwxrwxrw'
> I found a file where you could chance it but don't knwo anymore what
> it was.
> 
> I want to use this for my ftp-server with FreeBSD.
> I have a directory 'upload' where all my friends can put there files. 
> They are all members of the group 'ftpusers'. But when they put a file
> in that directory all the other users from the group 'ftpusers' 
> canchange or delete this file. I want to change it so that the write
> bit for the group is off when someonse of the ftpusers group writes 
> something in the folder 'upload'.

afair normally you would :

- chmod 1777 your_upload_dir (for anonymous uploads)
- do *any* other permission-settings in the config of the FTP-server
you're running



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216170603.3e7c1815.albi>