guix/gnu/build
Ludovic Courtès cf98d342b0
activation: Set the right owner for home directories.
This fixes a regression introduced in
ae763b5b0b whereby home directories and
skeletons would be root-owned.

* gnu/build/activation.scm (copy-account-skeletons): Make 'directory' a
keyword parameter.  Add #:uid and #:gid and honor them.
[set-owner]: New procedure.
(activate-user-home): Add call to 'getpw' and 'chown'.  Pass UID and GID
to 'copy-account-skeletons'.
* gnu/tests/base.scm (run-basic-test)["skeletons in home directories"]:
Test file ownership under HOME.
2017-02-04 02:13:43 +01:00
..
activation.scm activation: Set the right owner for home directories. 2017-02-04 02:13:43 +01:00
cross-toolchain.scm gnu: cross-base: Move phases to (gnu build cross-toolchain). 2016-12-07 21:52:26 +01:00
file-systems.scm file-systems: Do not read superblocks past the end of a device. 2017-01-31 23:21:59 +01:00
install.scm install: Enable "cryptodisk" handling in GRUB. 2016-11-23 21:13:18 +01:00
linux-boot.scm Rename '/root/etc/dmd' directory and 'do-not-kill' file. 2016-01-29 20:20:19 +03:00
linux-container.scm container: Pass a list of <file-system> objects as things to mount. 2016-11-10 18:01:44 +01:00
linux-initrd.scm
linux-modules.scm linux-modules: Use normalized module names for 'modprobe.blacklist'. 2016-02-21 13:04:10 +01:00
marionette.scm install: Enable "cryptodisk" handling in GRUB. 2016-11-23 21:13:18 +01:00
svg.scm svg: Autoload Guile-RSVG and Guile-Cairo. 2016-10-25 13:57:28 +02:00
vm.scm vm: Avoid needless file copy in 'load-in-linux-vm'. 2016-11-28 22:58:18 +01:00