LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-27-2012, 11:20 AM   #1
erkant
Member
 
Registered: Oct 2012
Posts: 51

Rep: Reputation: Disabled
LFS: Error during changing ownership (LFS 7.2, Section 5.34)


I'm following LFS version 7.2 book, and everything worked fine until now (of course I overcame some problems with your help). The problem that I'm getting now is with chaning the owernship of my $LFS/tools directory.

I'm currently logged in as lfs user. And if I executed the command below I get errors (also shown below):

lfs@Progex:~$ chown -R root:root $LFS/tools

I'm getting the error for all the files inside my $LFS/tools directory, I just coppied the last few, you can view them below:

chown: changing ownership of '/mnt/lfs-full/tools/i686-lfs-linux-gnu/bin/ld.bfd': Operation not permitted
chown: changing ownership of '/mnt/lfs-full/tools/i686-lfs-linux-gnu/bin/strip': Operation not permitted
chown: changing ownership of '/mnt/lfs-full/tools/i686-lfs-linux-gnu/bin/objdump': Operation not permitted
chown: changing ownership of '/mnt/lfs-full/tools/i686-lfs-linux-gnu/bin': Operation not permitted
chown: changing ownership of '/mnt/lfs-full/tools/i686-lfs-linux-gnu': Operation not permitted
chown: changing ownership of '/mnt/lfs-full/tools': Operation not permitted

There is a permission problem, but I don't know exactly what it is. My lfs account is not in sudoers list, so I cannot execute the above command with sudo. On the other hand, if I change to my original account and execute that command with a sudo, I don't know whether it will do the trick. Thanks in advance!
 
Old 11-27-2012, 11:24 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by erkant View Post
I'm following LFS version 7.2 book, and everything worked fine until now (of course I overcame some problems with your help). The problem that I'm getting now is with chaning the owernship of my $LFS/tools directory.

I'm currently logged in as lfs user.
Didn't I tell you once before that you need to read carefully??

The Note at the beginning of the chapter 5.34: READ IT.
 
Old 11-27-2012, 11:25 AM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Read the note on that page you should run commands as root

Too slow again
 
  


Reply

Tags
lfs, not permitted, ownership



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
[SOLVED] LFS: Error during GCC-4.7.1-Pass 1 (LFS 7.2, Section 5.5) erkant Linux From Scratch 7 11-28-2012 06:03 AM
[SOLVED] LFS: Error during Binutils-2.22 - Pass 1 (Section 5.4, LFS 7.2) erkant Linux From Scratch 4 11-26-2012 01:26 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
LFS 6.2 Section 5.6 - Error making glibc-2.3.6 dustin_wielenga Linux From Scratch 3 01-05-2008 02:01 PM
LFS 6.0 Bindutils section 6.13 error xushi Linux From Scratch 6 05-31-2005 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:56 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
Open Source Consulting | Domain Registration