Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 11-03-2008, 11:23 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
Exclamation 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??
Old 11-03-2008, 02:11 PM   #2
Registered: Oct 2008
Location: San Diego County, CA
Distribution: LFS, Gentoo
Posts: 64

Rep: Reputation: 23
You need to go from user lfs to user root with the exit command.
Old 11-03-2008, 02:17 PM   #3
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
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?
Old 11-03-2008, 02:22 PM   #4
LQ Newbie
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
Originally Posted by moonfrog View Post
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.
Old 11-03-2008, 02:51 PM   #5
LQ Newbie
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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

Last edited by Lolandrea; 11-03-2008 at 02:54 PM.
Old 11-04-2008, 06:57 AM   #6
LQ Newbie
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Thumbs up

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
Old 11-04-2008, 07:36 AM   #7
LQ Newbie
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
i'll try it .... :P... thanxxxxx


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chown as non-root Rudy Vogels Linux - Security 5 06-19-2007 12:20 AM
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 09:00 PM
proftpd chown as root failed john8675309 Linux - Software 2 12-06-2005 04:53 PM
Oops! I did a chown -R root from the '/' level Wujen Linux - Newbie 4 04-06-2005 05:20 PM
chmod vs chown on some root files and yes apps ergo_sum Linux - Newbie 3 11-12-2003 10:49 AM

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration