Q: why chown $LFS/sources?

Bruce Dubbs bruce.dubbs at gmail.com
Tue Aug 4 13:18:59 PDT 2009


Jeremy Henty wrote:
> Maybe  I'm missimg  something but  I don't  see why  we need  to chown
> $LFS/sources.  It's already world-writable  (and sticky) so there's no
> problem with the  lfs user unpacking stuff there.   What will go wrong
> if do chapter 5 with $LFS/sources owned by root?

If another user adds a file or expands a tarball, then the lfs user can't delete 
them because of the sticky bit.  It could be worked around, but its just 
smoother if the lfs user owns everything.

   -- Bruce



More information about the lfs-dev mailing list