| Summary: | [PATCH] umask is applied to to newly created files despite they inherit extended ACLs | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Lubomir Rintel (GoodData, inactive) <lubo.rintel> |
| Component: | core | Assignee: | Amar Tumballi <amarts> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | anush, ashetty, gluster-bugs, lkundrak, vraman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-27 06:54:39 UTC | Type: | --- |
| Regression: | RTP | Mount Type: | nfs |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Lubomir Rintel (GoodData, inactive)
2011-11-02 19:26:08 UTC
Reworked the patches to utilize the parameters dictionaries instead of breaking the protocol. Submitted for review: http://review.gluster.com/667 http://review.gluster.com/668 Csaba Henk sent some review comments on the submitted patches. Please see if the patch can be resubmitted with comments incorporated. Amar, thank you. I've addressed all Csaba's comments and submitted a new set of patches. CHANGE: http://review.gluster.com/667 (fuse-bridge: preserve original mode and umask) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/668 (posix-acl: properly process umask in case client sent it) merged in master by Anand Avati (avati) I tested this on 3.3git and the issue is still not fixed. # dmesg | grep -i fuse [ 0.553091] fuse init (API version 7.16) On ext3 # setfacl -d -m mask::rwx . # umask 027 # mkdir subdir # ls -ld subdir drwxrwxrwx+ 2 root root 4096 2012-01-17 14:56 subdir On glusterfs # setfacl -d -m mask::rwx . # umask 027 # mkdir subdir # ls -ld subdir drwxrwx---+ 2 root root 8192 2012-01-17 14:58 subdir I will take a look. Which exact version of server and client were you using? GlusterFS is from latest git pull (master branch). QA says this bug is not yet fixed in master branch. Moving it to assigned. I could not reproduce the behavior above on neither RHEL 6.2 nor Fedora 17 -- for me it behaves both correctly and consistently. Please ensure that the parent directory has the same mode and ACL on both ext3 and glusterfs when checking for regressions. If you manage to reproduce the behavior you describe, please include information about mode and ACL of the parent directory (your working directory, one level above "subdir"). Thank you. Seems like I can't switch this back to ON_QA, only to CLOSED. Closing in hope to get QA attention. |