diff options
Diffstat (limited to 'src/cmd/vac')
-rw-r--r-- | src/cmd/vac/unvac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vac/unvac.c b/src/cmd/vac/unvac.c index 8b2b290d..594a6a2e 100644 --- a/src/cmd/vac/unvac.c +++ b/src/cmd/vac/unvac.c @@ -239,7 +239,7 @@ unvac(VacFile *f, char *name, VacDir *vdir) if(!table && !tostdout && vdir){ // create directory if((dp = dirstat(name)) == nil){ - if((fd = create(name, OREAD, DMDIR|(mode&0777))) < 0){ + if((fd = create(name, OREAD, DMDIR|0700|(mode&0777))) < 0){ fprint(2, "mkdir %s: %r\n", name); vdeclose(vde); } |