Bug 1127772
| Summary: | DHT + rebalance :- file permission got changed (sticky bit and setgid is removed) after file migration | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rachana Patel <racpatel> | |
| Component: | distribute | Assignee: | Nithya Balachandran <nbalacha> | |
| Status: | CLOSED WORKSFORME | QA Contact: | amainkar | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | rhgs-3.0 | CC: | nbalacha, srangana, surs, vagarwal | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHGS 3.0.3 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
The rebalance process now preserves the sticky bit, SUID and SGID permissions originally set on a file that is migrated.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1162119 (view as bug list) | Environment: | ||
| Last Closed: | 2014-11-11 11:12:42 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1162119 | |||
|
Description
Rachana Patel
2014-08-07 14:15:20 UTC
Code does not handle this preservation as these bits are used to signal to clients that migration is in progress, etc. In function dht_migrate_file, the current TOTO reads, /* TODO: if the source actually had sticky bit, or sgid bit set, we are not handling it */ This needs to be fixed for this issue to be cleared up. working as expected on build 3.6.0.29-1.el6rhs.x86_64 hence closing this bug and opening new for issues mentioned in comment # 6 |