summaryrefslogtreecommitdiff
path: root/libre/filesystem/filesystem.install
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-04-15 18:31:32 -0700
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-04-15 18:31:32 -0700
commitffb3ebbe0c98853f03a79b95cfff0f525df7d1fe (patch)
tree9879cb74f4d2f8ab4652b4277b7f66c212766ab0 /libre/filesystem/filesystem.install
parent833e63b6728e7fe38ea0e77303623efa6bdef48c (diff)
parentc931fbbe5ae1246b69e2c61452f7c3d7632d98c9 (diff)
Merge branch 'master' of vparabola:~/projects/abslibre
Conflicts: .gitignore
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