Weird error trying to su..

Gerard Beekmans gerard at linuxfromscratch.org
Mon Oct 2 08:55:38 PDT 2000


On Sat, 30 Sep 2000, you wrote:
> I was installing some software and I've started receiving an error whenever
> I try to su..
>
> setgid:  Operation not permitted
>
> Any idea what may be causing this?  I believe I accidentally did a chown on
> a couple directories (/bin, /boot, /dev) but I chowned them back to root. 
> I don't recall changing any libs or anything.

Try: chown root.root /bin/su
chmod 4755 /bin/su

that will restore su to it's proper permissions if they were messed up (yes, 
su needs to run setuid root0

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list