summaryrefslogtreecommitdiff
path: root/libre/filesystem/filesystem.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-14 14:53:18 +0000
committerroot <root@rshg047.dnsready.net>2011-04-14 14:53:18 +0000
commit5611a56fd08da4e95cdf8de446dda50d7afa80c8 (patch)
tree7f5b336539dda698885e8ab3baeff3ef69c55454 /libre/filesystem/filesystem.install
parent0917a0682e48c4261e47d743725d990f47f6ec95 (diff)
Thu Apr 14 14:53:18 UTC 2011
Diffstat (limited to 'libre/filesystem/filesystem.install')
-rw-r--r--libre/filesystem/filesystem.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/libre/filesystem/filesystem.install b/libre/filesystem/filesystem.install
index 4b2b261a4..640cd5c1d 100644
--- a/libre/filesystem/filesystem.install
+++ b/libre/filesystem/filesystem.install
@@ -2,6 +2,8 @@ post_install() {
[ -f var/log/lastlog ] || : >var/log/lastlog
[ -f var/log/wtmp ] || : >var/log/wtmp
[ -f var/run/utmp ] || : >var/run/utmp
+ chown root:20 var/run/utmp
+ chmod 664 var/run/utmp
[ -f var/log/btmp ] || (: >var/log/btmp && bin/chmod 600 var/log/btmp)
# workaround for bug #7194
# readded due to bug #9465
@@ -32,6 +34,7 @@ post_upgrade() {
_addgroup floppy -g 94
_addgroup storage -g 95
_addgroup log -g 19
+ _addgroup utmp -g 20
_addgroup power -g 98
_addgroup network -g 90
_addgroup games -g 50