From owner-freebsd-questions Thu Dec 19 14:20:23 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 84CCD37B401 for ; Thu, 19 Dec 2002 14:20:21 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9243F43EDC for ; Thu, 19 Dec 2002 14:20:20 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gBJMJvK73230; Thu, 19 Dec 2002 16:20:00 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021219161956.013b44a0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 19 Dec 2002 16:19:56 -0600 To: Giorgos Keramidas From: "Jack L. Stone" Subject: Re: Problem with my startup script? Cc: Adam Lofstedt , "'freebsd-questions'" In-Reply-To: <20021219215957.GB598@gothmog.gr> References: <3.0.5.32.20021219154527.013b44a0@mail.sage-one.net> <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" 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 At 11:59 PM 12.19.2002 +0200, Giorgos Keramidas wrote: >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. > Then, wouldn't 0700 be the very strict and most conservative way if only root is intended to only to use the script -- usually in the bootup scenario? Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message