setperms/SuSE 10/SUID
Jay R. Ashworth
jra at baylink.com
Tue Mar 25 10:29:29 PDT 2008
On Tue, Mar 25, 2008 at 01:03:29PM -0400, Kenneth Brody wrote:
> Quoting Jay R. Ashworth (Tue, 25 Mar 2008 12:58:36 -0400):
> >I have the 3-Oct-2000 version of setperms in this 5.0.14 install which
> >we've just moved from SuSE 9.1 to 10.2, and for some reason -- we've
> >seen this on other linux installs, but I don't have any details handy
> >-- setperms gets everything right except the SUID bits.
> >
> >1) I'm running as root.
> >2) chmod 4755 /appl/fp/dclerk run by hand works.
> >3) There is no #3.
>
> Of course there is a number 3. There is no number 6.
>
> >4) Bruce.
>
> Okay, I missed that reference.
Also a Pythonic reference.
> >Is this a known problem? Is there a known solution? Have I *already*
> >figured it out myself, and I don't remember? And what about Naomi?
>
> Yes, yes, perhaps, and who?
cf The Electric Company, 1969.
> >I've already set dclerk and dreport manually so they can get work done,
> >but fixing setperms seems indicated.
>
> Swap the chmod and chown lines so that chown comes first. (chown resets
> the setuid bit.)
Yup; damnit, that's it. Thanks.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
More information about the Filepro-list
mailing list