I'm trying to build a LFS using version 7.1. I've followed all of the steps up to 5.3 and now I'm stuck because I can't change to $LFS/sources - I get the message:
bash: cd: /mnt/lfs/sources: Permission denied
I'm logged in, in a new terminal, as lfs. The directory permissions (as seen from /mnt/lfs by root) are:
drwx------ 6 leo leo 4096 May 26 18:02 . drwxr-xr-x 3 root root 4096 May 21 20:43 .. drwx------ 2 root root 16384 May 21 20:24 lost+found drwxr-xr-x 2 leo leo 4096 May 26 18:00 patches drwxrwxrwt 2 lfs root 4096 May 26 17:53 sources drwxr-xr-x 2 lfs root 4096 May 26 18:02 tools
The mount spec for the partition is:
/dev/sdb3 on /mnt/lfs type ext3 (rw)
I'm far from new to UNIX and LINUX and this is really annoying me. I know it's something blindingly obvious but I just can't see it.
I have restarted the machine, sourced the lfs profile (source ~/.bash_profile) but just can't seem to find the one thing I'm missing. The host system is Debian if that helps.