guix/gnu
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
..
build activation: Set the right owner for home directories. 2017-02-04 02:13:43 +01:00
packages gnu: vim: Update to 8.0.0300. 2017-02-04 00:27:44 +01:00
services services: cuirass: Add load-path to cuirass configuration 2017-02-02 09:04:40 +01:00
system file-systems: Add 'file-system-mapping->bind-mount'. 2017-02-03 00:23:28 +01:00
tests activation: Set the right owner for home directories. 2017-02-04 02:13:43 +01:00
artwork.scm
local.mk gnu: p7zip: Fix CVE-2016-9256. 2017-02-03 22:17:41 +02:00
packages.scm Use 'mlambda' instead of 'memoize'. 2017-01-28 18:55:20 +01:00
services.scm services: Create /var/log/wtmp upon activation. 2017-01-24 00:46:37 +01:00
system.scm system: Introduce 'file-systems' Shepherd service. 2017-01-31 23:21:59 +01:00
tests.scm