On Mon, 6 Jun 2016 11:30:24 -0500 Bruce Dubbs <[email protected]> wrote:
> Hazel Russman wrote: > > This is an error I haven't seen before in a BLFS build. Apparently > > Firefox-45 tries to get tar to update the timestamps of some of its > > files. Now my /sources directory at that time still belonged to the LFS > > user; I hadn't bothered to reassign it to myself as I already had full > > read and write access. So I got this error when untarring the firefox > > sources. In spite of this, the untarring succeeded and the build > > completed without error. After chowning the directory to myself, I > > tested again and the error was gone. > > I think you missed the instruction in Secion 3.1: > > chmod -v a+wt $LFS/sources No, that's the point I'm making. When I created the /sources directory, I transfered its ownership to the lfs user and also changed the permissions exactly as instructed. But as this made the directory writeable by all, I left it in the ownership of the lfs user after completing LFS, while using it as myself. This hasn't caused unpacking problems in anything except firefox. > > I haven't found an instruction in the book to transfer the ownership of > > /sources. It ought to be in Chapter 3, perhaps as part of the > > "Configuring for adding users" section. Something like: "After creating > > a user account for yourself, you should (as root) change the ownership > > of the /sources directory to this account. Otherwise you may get errors > > when untarring certain packages." > > Note that when we give the instructions to download the sources, that lfs > user does not yet exist, so the ownership is that user that did the > downloads. There are no instructions to change package ownership, although > we do suggest changing the ownership of the sources/ directory to user > lfs, it shouldn't make any difference if it has permissions of 1777. That's apparently not the case because I've found similar examples through google. It seems that if timestamps on files are to be updated by tar, write access to the directory is not enough; you need actual ownership. > > Incidentally, the command explanations for firefox-45 do not match the > > installation commands at all and seem to belong to an earlier version. > > We are currently waiting for the next version of FF for other reasons. We > will check that when the package is updated. > > -- Bruce > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
