guix-devel/gnu/tests
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
..
base.scm activation: Set the right owner for home directories. 2017-02-04 02:13:43 +01:00
install.scm system: Create home directories once 'file-systems' is up. 2017-02-01 12:36:41 +01:00
mail.scm tests: Add 'opensmtpd-service-type' test. 2016-11-27 10:15:43 +08:00
nfs.scm gnu: Add system test for the rpcbind-daemon service. 2016-12-15 19:13:46 +01:00
ssh.scm tests: ssh: Add Dropbear test. 2016-10-03 15:18:51 +02:00
web.scm tests: Add 'nginx-service-type' test. 2017-01-19 14:44:59 +01:00