Le 11/01/2014 16:33, William Darryl Jackson a écrit :

> Now I find-out that g++ is not on my system, and thus c++. I install the 
> program and decide to remove the ../gcc-build folder to reconfigure gcc 
> from that point forward. I have switched back to the $lfs user but when I:
> 
> mkdir -v ../gcc-build
> 
> I find that I now do not have permission; "permission denied". I checked 
> the folder permissions - the owner is lfs, but the group is root. If I 
> am the owner, why no permission? This is what got me turned around 
> previously. This time I thought I would ask, why this occurs. Before I 
> start making changes. Yes, I am doing an 'echo $LFS', regularly.
> 
What is the exact output of "ls -ld $LFS/sources"? I have:

drwxrwxrwt 5 root root 36864 janv.  5 22:17 /mnt/lfs/sources

So user lfs is not even the owner, but everybody has right to write, and there
is the "sticky" bit (last t), which just means that a file belonging to some
user cannot be removed or modified by another user.

Now, there may be other reasons. Your system may use acl (access control
lists), or selinux, which further restrict permissions. What is your host
distribution?

regards
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to