Default file permissions

Jeremy Chadwick koitsu at FreeBSD.org
Tue Nov 4 00:21:41 PST 2008


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 |



More information about the freebsd-questions mailing list