[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: activation: Make home directories #o700 by default.
From: |
guix-commits |
Subject: |
02/09: activation: Make home directories #o700 by default. |
Date: |
Mon, 4 Mar 2019 09:24:16 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 8bb76f3d44c1f5ffec8011819494db306a51d801
Author: Ludovic Courtès <address@hidden>
Date: Mon Mar 4 13:32:36 2019 +0100
activation: Make home directories #o700 by default.
Until now they'd be #o755, except for /root, which is treated specially
in (gnu build install).
* gnu/build/activation.scm (activate-user-home): Chmod HOME to #o700.
Remove redundant 'unless system?'.
---
gnu/build/activation.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 0e77677..d516f5b 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -298,9 +298,9 @@ they already exist."
(gid (passwd:gid pw)))
(mkdir-p home)
(chown home uid gid)
- (unless system?
- (copy-account-skeletons home
- #:uid uid #:gid gid)))))))
+ (chmod home #o700)
+ (copy-account-skeletons home
+ #:uid uid #:gid gid))))))
(for-each ensure-user-home users))
- branch master updated (3a0baba -> c364481), guix-commits, 2019/03/04
- 01/09: tests: Use non-deprecated (guix store) API., guix-commits, 2019/03/04
- 04/09: doc: Better explain the 'password' field of <user-account>., guix-commits, 2019/03/04
- 06/09: environment: Rename '--inherit' to '--preserve'., guix-commits, 2019/03/04
- 02/09: activation: Make home directories #o700 by default.,
guix-commits <=
- 05/09: environment: Remove deprecated -E/--exec option., guix-commits, 2019/03/04
- 07/09: gnu: emacs: Add modules support., guix-commits, 2019/03/04
- 09/09: gnu: Add arcan-sdl., guix-commits, 2019/03/04
- 08/09: gnu: Add arcan., guix-commits, 2019/03/04
- 03/09: services: Use 'file-append' for user account shells., guix-commits, 2019/03/04