aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/smugfs
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2009-04-30 07:22:30 -0700
committerRuss Cox <rsc@swtch.com>2009-04-30 07:22:30 -0700
commit00d2ebe90319393a1c1d48e0a2bf1d102384ffe7 (patch)
tree44ba9e8ca48948562751261ecbb438d3fcf0b00c /src/cmd/smugfs
parente10a834215255e9ed8a70f69e9bacd088dcca8a5 (diff)
downloadplan9port-00d2ebe90319393a1c1d48e0a2bf1d102384ffe7.tar.gz
plan9port-00d2ebe90319393a1c1d48e0a2bf1d102384ffe7.tar.bz2
plan9port-00d2ebe90319393a1c1d48e0a2bf1d102384ffe7.zip
smugfs: directory mode should be 755
Diffstat (limited to 'src/cmd/smugfs')
-rw-r--r--src/cmd/smugfs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/smugfs/fs.c b/src/cmd/smugfs/fs.c
index 52b82051..91af23d2 100644
--- a/src/cmd/smugfs/fs.c
+++ b/src/cmd/smugfs/fs.c
@@ -1091,7 +1091,7 @@ dostat(SmugFid *sf, Qid *qid, Dir *dir)
dir->muid = estrdup9p("muid");
mode |= q.type<<24;
if(mode & DMDIR)
- mode |= 0555;
+ mode |= 0755;
dir->mode = mode;
dir->uid = estrdup9p(uid);
dir->gid = estrdup9p("smugfs");