Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2002 16:19:56 -0600
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Adam Lofstedt <adaml@visimation.com>, "'freebsd-questions'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Problem with my startup script?
Message-ID:  <3.0.5.32.20021219161956.013b44a0@mail.sage-one.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:59 PM 12.19.2002 +0200, Giorgos Keramidas wrote:
>On 2002-12-19 15:45, "Jack L. Stone" <jackstone@sage-one.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20021219161956.013b44a0>