LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS: Error during changing ownership (LFS 7.2, Section 5.34) (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-error-during-changing-ownership-lfs-7-2-section-5-34-a-4175438938/)

erkant 11-27-2012 11:20 AM

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!

druuna 11-27-2012 11:24 AM

Quote:

Originally Posted by erkant (Post 4838079)
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.

spiky0011 11-27-2012 11:25 AM

Hi

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

Too slow again


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