Ken Moffat wrote: > On Sat, Dec 15, 2012 at 03:54:40PM -0800, JIA Pei wrote: >> >> However, I happened to notice that by using account "lfs", I'm not able to >> do "*make install*" and got a lot of "*Permission denied*" error messages. >> The potential solutions is >> 1) either using "*sudo make install*" > > This is very dangerous - if you mistype the command you can damage > the host system. By installing as user lfs you are deliberately > restricted for where you can install files in chapter 5. > >> 2) or using "*chown lfs:lfs /tools*" >> >> 1) works fine for me, but 2) doesn't change /tools from *root:root* to * >> lfs:lfs* . >> >> I'm just wondering how LFS developers manage to solve this problem? >> > Section 4.3 : > > chown -v lfs $LFS/tools > > I suppose you need to chown /tools/* if you want to do it > differently : /tools is a symlink at this stage.
I agree. It sounds like LFS is not exported or that the 'su - lfs' was not done. Note that symbolic links normally have 777 permissions, so it doesn't matter who owns the link. It's the directory that the links points to that matters. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page