[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: interesting xmcd conundrum



>>>>> Peter Jay Salzman writes:

    pjs> hello all,
    pjs> when i run xmcd, it reports:

    pjs> 	xmcd Fatal Error: Xmcd binary permissions error: It
    pjs> 	should be setuid root.  Please have your system
    pjs> 	administrator correct this.

    pjs> even though:
    pjs> 	% ll /usr/bin/xmcd 
    pjs> 	-rwsr-sr-x    1 root     root         1223 Nov 21 20:43 /usr/bin/xmcd*

    pjs> according to strace:

    pjs> setuid(0)                               = -1 EPERM (Operation not permitted)
    pjs> write(2, "xmcd Fatal Error:\nXmcd binary permissions error: It should be
    pjs> setuid root.  Please have\nyour system"..., 128) = 128
    pjs> _exit(1)                                = ?


    pjs> i believe that 3 is a fd for /etc/mtab.  it seems to be
    pjs> choking on setuid(0).  but the executable IS setuid root.

    pjs> any tips?

Maybe it has dropped permissions and is trying to get them back.  If I
were you, I wouldn't be using a setuid CD player.  Try gtcd or
something. 

Cheers,

-- 
Chris



Reply to: