summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hgfs/fs.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-06-27 11:27:32 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-06-27 11:27:32 +0000
commit0f61b5506ca74ba7560d3c9834330e28ce307019 (patch)
tree3c3874c76c8a3381dfd3dc4e8d358261ffe9a7ee /sys/src/cmd/hgfs/fs.c
parent2b5a7cebc2274c5780e2cf62d3e18d0171773231 (diff)
hgfs: honor x-bit in manifest
Diffstat (limited to 'sys/src/cmd/hgfs/fs.c')
-rw-r--r--sys/src/cmd/hgfs/fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/hgfs/fs.c b/sys/src/cmd/hgfs/fs.c
index 0c977d2cc..85f32b5d2 100644
--- a/sys/src/cmd/hgfs/fs.c
+++ b/sys/src/cmd/hgfs/fs.c
@@ -219,6 +219,8 @@ fsmkdir(Dir *d, int level, void *aux)
case Qtree:
nd = aux;
d->name = estrdup9p(nd->name);
+ if(nd->mode == 'x')
+ d->mode |= 0111;
if(nd->hash){
char path[MAXPATH];
Revlog rl;