Bug 1302307
Summary: | Vim commands from a non-root user fails to execute on fuse mount with trash feature enabled | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | PANK <pank.singh9191> | |
Component: | trash-xlator | Assignee: | Anoop C S <anoopcs> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | mainline | CC: | anoopcs, bugs, jthottan | |
Target Milestone: | --- | Keywords: | Reopened, Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.9 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1305749 (view as bug list) | Environment: | ||
Last Closed: | 2016-05-28 05:57:29 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: | 1305749 |
Description
PANK
2016-01-27 12:51:20 UTC
REVIEW: http://review.gluster.org/13346 (features/trash: Handle unlink unwind properly) posted (#1) for review on master by Anoop C S (anoopcs) COMMIT: http://review.gluster.org/13346 committed in master by Jeff Darcy (jdarcy) ------ commit b609a55be4119c44b19252bd951780a78deb21c9 Author: Anoop C S <anoopcs> Date: Wed Feb 3 18:24:20 2016 +0530 features/trash: Handle unlink unwind properly When enabled, trash translator does a rename internally for every unlink request and unwinds the original unlink call. But this was unwinded back with prerparent and postparent as NULL which resulted in changing the parent directory permissions to 000. This issue is consistently seen as a failure when a non-root user executes vim commands which internally tries to perform stat operations (as part of swap/backup file creation) on a file whose parent directory's permission was modified to 000 due to recent unlink for another file inside the same directory. Change-Id: I161a036b37fb815866d50d2d6260ff0ad22d7223 BUG: 1302307 Signed-off-by: Anoop C S <anoopcs> Reviewed-on: http://review.gluster.org/13346 Smoke: Gluster Build System <jenkins.com> Tested-by: jiffin tony Thottan <jthottan> Reviewed-by: jiffin tony Thottan <jthottan> CentOS-regression: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> |