mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
build: install: Do not set store GID.
There's no need to set the store GID as is will be done by the guix-daemon, with the following snippet: if (chown(chrootStoreDir.c_str(), 0, buildUser.getGID()) == -1) throw SysError(format("cannot change ownership of ‘%1%’") % chrootStoreDir); * gnu/build/install.scm (directives): Do not set store GID.
This commit is contained in:
parent
5990e95b60
commit
892bbea750
1 changed files with 1 additions and 3 deletions
|
@ -101,9 +101,7 @@ the context of the caller. If the directive matches those defaults then,
|
||||||
(define (directives store)
|
(define (directives store)
|
||||||
"Return a list of directives to populate the root file system that will host
|
"Return a list of directives to populate the root file system that will host
|
||||||
STORE."
|
STORE."
|
||||||
`(;; Note: the store's GID is fixed precisely so we can set it here rather
|
`((directory ,store 0 0 #o1775)
|
||||||
;; than at activation time.
|
|
||||||
(directory ,store 0 30000 #o1775)
|
|
||||||
|
|
||||||
(directory "/etc")
|
(directory "/etc")
|
||||||
(directory "/var/log") ; for shepherd
|
(directory "/var/log") ; for shepherd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue