From owner-freebsd-questions Thu Dec 19 14: 0: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7827637B401 for ; Thu, 19 Dec 2002 14:00:02 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C03743EB2 for ; Thu, 19 Dec 2002 14:00:01 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a180.otenet.gr [212.205.215.180]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gBJLxwSs010316; Thu, 19 Dec 2002 23:59:59 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gBJLxvXU001321; Thu, 19 Dec 2002 23:59:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gBJLxvip001320; Thu, 19 Dec 2002 23:59:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 19 Dec 2002 23:59:57 +0200 From: Giorgos Keramidas To: "Jack L. Stone" Cc: Adam Lofstedt , "'freebsd-questions'" Subject: Re: Problem with my startup script? Message-ID: <20021219215957.GB598@gothmog.gr> References: <002001c2a77f$f40db760$6f00000a@5adam5> <002001c2a77f$f40db760$6f00000a@5adam5> <3.0.5.32.20021219154527.013b44a0@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20021219154527.013b44a0@mail.sage-one.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-12-19 15:45, "Jack L. Stone" wrote: > At 07:25 PM 12.19.2002 +0200, Giorgos Keramidas wrote: > >> Local Package Initialization : (skipping smbfsstartup.sh, not > >> executable). > > > >Quick fix: > > > > # chmod 0750 /usr/local/etc/rc.d/smbfsstartup.sh > > Pardon moir for chiming in here, but I have noticed 3 different posts about > the proper chmod for the executable on this thread: 744, 755 and now 750 > .....I've typically used 755, but if there is some reason for the others as > a preference I would be interested in the reasons. or when one should be > used over the other... The more conservative, the better, I guess. The `correct' permission set is the one that fits the local policies. I arbitrarily chose to give read, write & execute permission to the owner of the file, read & execute to the group and nothing to everyone else. It was just that, an arbitrary choise. There isn't an objectively `correct for everyone' set of permissions. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message