LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 11-03-2008, 12:23 PM   #1
Lolandrea
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
Exclamation cant go on chown -R root:root $LFS/tools


hello......

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, 03:11 PM   #2
moonfrog
Member
 
Registered: Oct 2008
Location: San Diego, CA
Distribution: Gentoo, LFS, ....
Posts: 51

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

Rep: Reputation: 124Reputation: 124
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, 03:22 PM   #4
onesixtyfourth
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
Quote:
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, 03:51 PM   #5
Lolandrea
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 03:54 PM.
 
Old 11-04-2008, 07:57 AM   #6
snipexandy
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Thumbs up

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

solution

su - for super user
report password

try again

sorry for my english. i am brazilian
 
Old 11-04-2008, 08:36 AM   #7
Lolandrea
LQ Newbie
 
Registered: Nov 2008
Posts: 7

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


Reply


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 01:20 AM
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 10:00 PM
proftpd chown as root failed john8675309 Linux - Software 2 12-06-2005 05:53 PM
Oops! I did a chown -R root from the '/' level Wujen Linux - Newbie 4 04-06-2005 06:20 PM
chmod vs chown on some root files and yes apps ergo_sum Linux - Newbie 3 11-12-2003 11:49 AM


All times are GMT -5. The time now is 10:58 PM.

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