diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-01 16:34:33 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-01 16:34:33 +0100 |
commit | ce59d96ee34905b58d39fa6e7defdf75220032ea (patch) | |
tree | c28aeff22db386a002e9b06a0b1c50933da643fa /sys/src/cmd/hjfs | |
parent | 4b2a1c104b35cfdddf54bb8da2a160ba8501f09a (diff) |
hjfs: fix group permissions for /adm and /adm/users for init
Diffstat (limited to 'sys/src/cmd/hjfs')
-rw-r--r-- | sys/src/cmd/hjfs/fs1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/hjfs/fs1.c b/sys/src/cmd/hjfs/fs1.c index 7b8127731..f466c739a 100644 --- a/sys/src/cmd/hjfs/fs1.c +++ b/sys/src/cmd/hjfs/fs1.c @@ -140,7 +140,7 @@ writeusers(Fs *fs) if(ch == nil) goto error; ch->uid = -1; - chancreat(ch, "adm", DMDIR | 0755, OREAD); + chancreat(ch, "adm", DMDIR | 0775, OREAD); chanclunk(ch); ch = chanattach(fs, 0); if(ch == nil) @@ -151,7 +151,7 @@ writeusers(Fs *fs) if(chanwalk(ch, "users") > 0){ if(chanopen(ch, OWRITE|OTRUNC) <= 0) goto error; - }else if(chancreat(ch, "users", 0644, OWRITE) <= 0) + }else if(chancreat(ch, "users", 0664, OWRITE) <= 0) goto error; if(userssave(fs, ch) < 0){ chanremove(ch); |