Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 00:21:40 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Roey D <darwinian.empire@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Default file permissions
Message-ID:  <20081104082140.GA42248@icarus.home.lan>
In-Reply-To: <c9f50ec40811040000y1c08b99al2c27711a2887649b@mail.gmail.com>
References:  <c9f50ec40811040000y1c08b99al2c27711a2887649b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 04, 2008 at 10:00:24AM +0200, Roey D wrote:
> I have a server running Azureus to download torrent files. The Azureus
> directory is accessible to other computers using samba.
> Azureus dumps it's completed files with the 644 permissions, making
> them writable only for the owner.
> As far as I looked, Azureus cannot be configured to dump it's files
> with different permissions.
> Is there any way to apply a "Inherited file permissions" on a specific
> directory? (i.e all files created on this folder will have a specific
> permission set, unless specifically changed by some application)
>  I prefer doing this with the classic permission system, rather then using ACLs.

See umask(2), which is also a command-line utility.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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