From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 11:30:31 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 72DD31065670 for ; Fri, 26 Nov 2010 11:30:31 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by mx1.freebsd.org (Postfix) with ESMTP id 38EC98FC19 for ; Fri, 26 Nov 2010 11:30:31 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by lon1-post-1.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PLwVa-0005Yd-WV for freebsd-questions@freebsd.org; Fri, 26 Nov 2010 11:30:30 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Fri, 26 Nov 2010 11:30:29 -0000 MIME-Version: 1.0 Message-ID: <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: <20101125212508.82f1a646.freebsd@edvax.de> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk>, <20101125212508.82f1a646.freebsd@edvax.de> X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 11:30:31 -0000 On 25 Nov 2010 at 21:25, Polytropon wrote: > 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. Yes, I found that, good info. I'm relying on the freebsd.org site man pages and documentation among others, as I'm finding it too inconvenient (bad short term memory) using the man pages on the system. At least I can have the website pages open on a nearby laptop. > > > > 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. The original instructions I used when creating the GPS/NTP server, resulted in the BASH shell being used. I think that's part of the odd problem, as that does not show up in the list of known shell's, when creating a new user. > > > 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. Not quite it seems, that parameter only works if the -D is used too I believe, and with inetd running things. At present, the system wont allow that for some odd reason. No errors, it just ignores it. > > > Remember: This is FreeBSD, we have excellent manpages and > other good documentation. :-) Agreed, the documentation is excelent, compared to that available for many Linux's (with the exception of Debian I've found) The biggest difference is the people. Here in the FreeBSD world, I ask a question, I get sensible answers, for which I'm eternaly gratefull. In many LUG's and other Linux Forums, I often get self opinionated Flames! Though the doc's are good, I do find it less than easy to assimilate it all in a meaningfull way, not coming from a unix background. But that's just my problem, and I'm sure the penny will drop sometime soon. I've recently installed 8.1 on another sacreficial PC to mess with, so I can learn "how to" etc, without adversley affecting the NTP server box, untill I'm sure I know what to do. So I know (not being too familier with all this) in simple terms, what advantages/disadvantages are there, in respects to the different shell's avalable? Is there a comparison feature table somewhere? As an asside, having got the FTP server working, I then "had an idea" and ended up breaking it. Cest la vie... I'll look to using a stand alone program/utility I think, that involves less system settings manipulation. Best Regards All. Dave B.