Could you please post to here output of a "mount" command started in
your Debian konsole/terminal and output of "echo $LFS"?


2014/1/11 William Darryl Jackson <wm.djack...@comcast.net>:
> I never answered your question: after doing the export LFS=/mnt/lfs; ls
> -ld $LFS/sources says directory not found, from root.
>
> I added a label to the 'partition' and now I can view the folders from
> my file manager... but still not accessible in terminal mode.
>
> Thanks
>
> William
>
> On 01/11/2014 01:50 PM, William Darryl Jackson wrote:
>> On 01/11/2014 01:24 PM, Pierre Labastie wrote:
>>> 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
>> Good point about the write permissions. I have other problems, tho. I am
>> building this to an external drive and I have mount problems. I get the
>> device name as root, but the media name as user. And my files 'sources',
>> 'tools' are only visible to root.
>>
>> I have to figure-out /etc/fstab... probably to not mount at all, and
>> then do manual mount - because we have /mnt/lfs.... when ultimately, if
>> I can ever be successful - grub will need to see /dev/sdb2 - which
>> currently is only accessible by root. I just did a 'chown -R lsf:lsf
>> /mnt/lsf.... need to put it back to root:root and try to figure-out the
>> mount situation.
>>
>> My build is Debian. I am interested in LFS because of all the craziness
>> (lack of control).
>>
>> Thanks,
>>
>> William
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-- 
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