-   Linux From Scratch (
-   -   cant go on chown -R root:root $LFS/tools (

Lolandrea 11-03-2008 11:23 AM

cant go on chown -R root:root $LFS/tools

Well i'm trying to change the ownership of $LFS/tools (lfs user) to root... but i cant, it keeps me saying "Operation not permitted"... What am i doing wrong... can someone help me??

moonfrog 11-03-2008 02:11 PM

You need to go from user lfs to user root with the exit command.

pingu 11-03-2008 02:17 PM

If LFE or LFE/tools is a directory where some non-linux partition is mounted you might not be able to change ownership this way. Or are you maybe not root when issuing the command?

onesixtyfourth 11-03-2008 02:22 PM


Originally Posted by moonfrog (Post 3330478)
You need to go from user lfs to user root with the exit command.

This guy is spot on the mark. I know I did exactly the same thing. Just above where you are in the book there is a note stating that all commands from this point on should be executed as root.

Lolandrea 11-03-2008 02:51 PM

yeah... thats the pro... XD.... i executing it as root.... n that doesn't do anything.... :S.... thats why I've tried as lfs... but nothing....

i do the command "chown -R root:root $LFS/tools" but it doesn't do anything (i have to declare LFS again because in root it doesn't exists anymore--> export LFS=/mnt/lfs)

P.D:Excuse me if I have a bad English... I'm Colombian... XD

snipexandy 11-04-2008 06:57 AM

write in the shell --> echo $LFS
resposte: lfs#: /mnt/lfs


su - for super user
report password

try again

sorry for my english. i am brazilian

Lolandrea 11-04-2008 07:36 AM

i'll try it .... :P... thanxxxxx

All times are GMT -5. The time now is 02:29 AM.