[alfs-discuss] Dumb but important qn

Teresa Williams teresa.williams at gmx.us
Sun Oct 15 14:08:34 PDT 2017


> Sent: Sunday, October 15, 2017 at 11:05 PM
> From: "Bruce Dubbs" <bruce.dubbs at gmail.com>
> To: "ALFS Discussion and Development List" <alfs-discuss at lists.linuxfromscratch.org>
> Subject: Re: [alfs-discuss] Dumb but important qn
>
> Teresa Williams wrote:
> > Every time I use jhalfs I battle the starting setup.
> > I create a partition, and make a file system in it,
> > Then I mount it at $LFS, usually /mnt/lfs, and check out jhalfs.
> > But what permissions and ownership should $LFS have? Can't spot the answer
> > in the READMEs.
> 
> Typically you are going to format and mount the $LFS partition as root. 
> You should downlad and install jhalfs as your normal user but still create 
> the lfs user as in Chapter 4.
> 
> The issue you mention occurs when running jhalfs.  The mounted partition 
> needs to allow writing as the user running jhalfs.  You can do that by 
> either changing the ownership of the mounted lfs partition  to the user 
> running jhalfs or changing permissions to 777.
> 
> In either case, after booting into your newly built lfs system, change / 
> ownership/permissions to root.root rwxr-xr-x.  You probably also need to 
> have sudo set up to allow your user to enter root without a password.
> 
> The other alternative is to run jhalfs as root, but I do not do that.
> 
>    -- Bruce


Many thanks Bruce - nice to have this cleared up.

Teresa


More information about the alfs-discuss mailing list