jhalfs issue with permissions

Ralph Porter rportermail at gmail.com
Mon Jan 5 19:38:15 PST 2009

On Mon, Jan 5, 2009 at 6:50 PM, DJ Lucas <dj at linuxfromscratch.org> wrote:
> Ralph Porter wrote:
>>  Building target 028-binutils-pass1
>>  [/du: cannot read directory `/mnt/lfs/.Trash-root': Permission denied 0 sec
>> du: cannot read directory `/mnt/lfs/.Trash-rporter': Permission denied
> Wait, it actually started the build!  I missed that part yesterday.
> What exactly is the problem? The du commands?  The build shouldn't stop
> because of that, did it stop, or did you stop it?  Anyway, the du errors
> are harmless, but the reason is that the lfs user (just created) does
> not have read access to those directories.  As for the 'Sorry, try
> again' errors...What happens if you do 'sudo useradd lfs'?  Assuming
> those were errors and not that I just misinterpreted the problem, is SE
> enabled?  I haven't heard of SE causing problems yet, but I'd disable or
> at least set to permissive.
DJ...it just stops

Here is the text of the run

Downloading the lfs document, 6.3 version... done
 Document version <6.3>

Creating Makefile... START
        Processing... <Chapter4     ( SETUP ) >
        Processing... <Chapter5     ( LUSER ) >
        Processing... <Chapter6     ( CHROOT ) >
        Processing... <Chapter7/8   ( BOOT ) >
Creating Makefile... DONE

Building the system...
make[1]: Entering directory `/mnt/lfs/jhalfs'
You are going to log into the user account lfs
sudo requires a password
 Building target 029-gcc-pass1
 [+|du: cannot read directory `/mnt/lfs/.Trash-root': Permission denied1 sec
du: cannot read directory `/mnt/lfs/.Trash-rporter': Permission denied


i have to ctrl-c to stop the script

More information about the lfs-support mailing list