setperms/SuSE 10/SUID

Kenneth Brody kenbrody at bestweb.net
Tue Mar 25 10:03:29 PDT 2008


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.

> 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?

> 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.)

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list