summaryrefslogtreecommitdiff
path: root/libre/filesystem/filesystem.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/filesystem/filesystem.install')
-rwxr-xr-x[-rw-r--r--]libre/filesystem/filesystem.install15
1 files changed, 9 insertions, 6 deletions
diff --git a/libre/filesystem/filesystem.install b/libre/filesystem/filesystem.install
index 8cef64bb6..34fcc0dee 100644..100755
--- a/libre/filesystem/filesystem.install
+++ b/libre/filesystem/filesystem.install
@@ -1,11 +1,11 @@
post_install() {
- [ -f var/log/lastlog ] || : >var/log/lastlog
- [ -f var/log/wtmp ] || : >var/log/wtmp
- [ -f var/log/btmp ] || (: >var/log/btmp && chmod 600 var/log/btmp)
+ [ -f var/log/lastlog ] || : >var/log/lastlog
+ [ -f var/log/wtmp ] || : >var/log/wtmp
+ [ -f var/log/btmp ] || { : >var/log/btmp && chmod 600 var/log/btmp; }
# workaround for bug #7194
# readded due to bug #9465
# please do not remove!
- chmod 1777 var/spool/mail tmp var/tmp var/lock
+ chmod 1777 var/spool/mail tmp var/tmp
}
# args: <group> [options]
@@ -40,9 +40,12 @@ post_upgrade() {
_adduser http -u 33 -d /srv/http -g http -s /bin/false
_addgroup scanner -g 96
_addgroup rfkill -g 24
+ _addgroup lock -g 54
+ _addgroup uuidd -g 68
+ _adduser uuidd -u 68 -d / -g uuidd -s /sbin/nologin
- # sync gshadow to group (fixes FS#19869
- if ! grep -q '^rfkill:' etc/gshadow; then
+ # sync gshadow to group (fixes FS#19869)
+ if ! grep -q '^lock:' etc/gshadow; then
grpconv >/dev/null
fi