mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
parent
da8a485fc1
commit
4798a8a556
1 changed files with 3 additions and 1 deletions
|
@ -505,7 +505,9 @@ fusesetattr(FuseMsg *m)
|
|||
if(in->valid&FATTR_MTIME)
|
||||
d.mtime = in->mtime;
|
||||
if(in->valid&FATTR_MODE)
|
||||
d.mode = in->mode;
|
||||
d.mode = in->mode & 0777;
|
||||
if((in->mode&S_IFMT) == S_IFDIR)
|
||||
d.mode |= DMDIR;
|
||||
if((in->valid&FATTR_UID) || (in->valid&FATTR_GID)){
|
||||
/*
|
||||
* I can't be bothered with these yet.
|
||||
|
|
Loading…
Reference in a new issue