#297 closed defect (fixed)
Install all software as an unprivileged user
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
As per instructions in the CVS book. Everything in section 5 should be done by a unprivileged user, naming lfs.
I think it was a good idea, however, I encountered the following error while trying to build and install make-3.79.1. The compile completes as well as the install with the following error at install time:
(...) /bin/sh ./mkinstalldirs /lfs/usr/bin
/usr/bin/install -c make /lfs/usr/bin/make
chgrp: you are not a member of group `kmem': Operation not permitted /lfs/usr/bin/make needs to be owned by group kmem and setgid; otherwise the `-l' option will probably not work. You may need special privileges to complete the installation of /lfs/usr/bin/make. /bin/sh ./mkinstalldirs /lfs/usr/info (...)
This could be a limitation for those with sophisticated scripts dispatching the make on many hosts and checking for ressources usage before running the job. Well, clearly this is not my case, however, it would be better to handle this.
Change History (4)
comment:1 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 23 years ago
Keywords: | VERIFIED added |
---|
confirmed that error text has been added to chapter05/make-inst.xml
comment:4 by , 23 years ago
Keywords: | VERIFIED removed |
---|
setgid kmem for 'make' isn't needed on Linux. I'll write a message about this in the lfs-book that this error can be ignored.