[Bug 843] New: problems with chowning the package dir

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Wed May 26 07:15:16 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=843

           Summary: problems with chowning the package dir
           Product: ALFS Profiles
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: LFS Profiles
        AssignedTo: alfs-log at linuxfromscratch.org
        ReportedBy: archaic at linuxfromscratch.org
         QAContact: alfs-log at linuxfromscratch.org


Chown --recursive in addinguser.xml is at best unnecessary and at worst, can be dangerous. The reasoning is since the defacto standard in at least the 5.0-3 and current testing profiles is to copy the tarballs, and the umask is set to 022, it will not matter if the packages dir is chowned since user lfs only needs 755 on the dir and 644 on the tarballs (which will happen with umask 022). Now in a copy itself, it doesn't really matter (but doesn't add any value, either). But if you mount --bind your sources then either 2 things will happen. One, if you keep sources on RO media (like a CD) the build will die. Two, if the sources are on one of the host dirs, you are effectively modifying the host, which can cause unnecessary problems and should probably be avoided. The last problem is that in creatingtoolsdir.xml, the comment about mount --bind refers to a umount command which isn't in the profile anywhere.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the alfs-log mailing list