From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:25:11 2010 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 D9CCC106566C for ; Thu, 25 Nov 2010 20:25:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 983A08FC27 for ; Thu, 25 Nov 2010 20:25:11 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx01.qsc.de (Postfix) with ESMTP id 29A6B3CEEE; Thu, 25 Nov 2010 21:25:10 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAPKP98a002456; Thu, 25 Nov 2010 21:25:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 25 Nov 2010 21:25:08 +0100 From: Polytropon To: "Dave" Message-Id: <20101125212508.82f1a646.freebsd@edvax.de> In-Reply-To: <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 20:25:12 -0000 On Thu, 25 Nov 2010 20:00:21 -0000, "Dave" wrote: > Lots is written about the 'x' bit, and allowing execution of a file, but > not that it affects the ability to even use that directory. I guess in > this context, "using" = "executing", so it sort of makes sense. It is written lots and nicely explained in "man chmod", where you can read: 0100 For files, allow execution by owner. For directories, allow the owner to search in the directory. 0010 For files, allow execution by group members. For directo- ries, allow group members to search in the directory 0001 For files, allow execution by others. For directories allow others to search in the directory. The "1" part of the octal masks refers to the x attribute. In relation to directories, it means "search", which you can also see when using the "find" program: Directories that are not +x cannot be searched. > It appears too, that if one of the group members then creates a new > direcory, that inherits the permissions of the parent directory. You can set default permissions for file creation using the umask builtin (e. g. for csh, the default dialog shell); see the "man csh" for details. > Next task, to get the ftp server to work on another port. I might just > quit while ahead, and go up the pub though, and leave that till tomorrow. That's easy: See the -P option explained in "man ftpd". Also see /etc/defaults/rc.conf which mentions ftpd_flags. Remember: This is FreeBSD, we have excellent manpages and other good documentation. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...