search for: c9a38cd

Displaying 1 result from an estimated 1 matches for "c9a38cd".

Did you mean: 59a382cd
2009 Sep 09
3
DO NOT REPLY [Bug 6701] New: permission of attributes are not preserved
...olution could be creating the xattr with read permission for "other", but the problem is more general. I think that -X beavhiour should be: - for every user preserve permissions - for root preserve permission and ownerships diff --git a/lib/sysxattrs.c b/lib/sysxattrs.c index d55ee0c..c9a38cd 100644 --- a/lib/sysxattrs.c +++ b/lib/sysxattrs.c @@ -191,7 +191,7 @@ int sys_lsetxattr(const char *path, const char *name, const { int attrfd; size_t bufpos; - mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; + mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP...