From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 08:21:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAD501065672 for ; Tue, 4 Nov 2008 08:21:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id C098D8FC1F for ; Tue, 4 Nov 2008 08:21:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id awKJ1a00D0x6nqcA9wMhwm; Tue, 04 Nov 2008 08:21:41 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id awMg1a0062P6wsM8YwMgXZ; Tue, 04 Nov 2008 08:21:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=NvpsxX41gUKO30R-alAA:9 a=HsUnKvjsR2b2_fYekG8A:7 a=aF4dVVzmdH5s6lUvcWmrnFr1N10A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 5DE57C9419; Tue, 4 Nov 2008 00:21:40 -0800 (PST) Date: Tue, 4 Nov 2008 00:21:40 -0800 From: Jeremy Chadwick To: Roey D Message-ID: <20081104082140.GA42248@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Default file permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 08:21:41 -0000 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 |