Bug 1028478 - quota : mv operation fails with "Permission Denied"
Summary: quota : mv operation fails with "Permission Denied"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Susant Kumar Palai
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-08 14:38 UTC by Saurabh
Modified: 2023-09-14 01:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-09 09:41:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2013-11-08 14:38:56 UTC
Description of problem:
filling a separate BZ after discussion with Developer, as this issue was found on only one cluster.


[root@rhslong03 nfs-test-dist-rep1]# mkdir dir6
[root@rhslong03 nfs-test-dist-rep1]# chwon qa1:qa dir6
bash: chwon: command not found
[root@rhslong03 nfs-test-dist-rep1]# chown qa1:qa dir6
[root@rhslong03 nfs-test-dist-rep1]# ls -l dir6
total 0
[root@rhslong03 nfs-test-dist-rep1]# ls -ld dir6
drwxr-xr-x. 2 qa1 qa 36 Nov  8  2013 dir6
[root@rhslong03 nfs-test-dist-rep1]# 
[root@rhslong03 nfs-test-dist-rep1]# su qa1
[qa1@rhslong03 nfs-test-dist-rep1]$ mv dir6 dir6-rename

Version-Release number of selected component (if applicable):
glusterfs-3.4.0.40rhs-1

How reproducible:
happenining only on one cluster, not on other

Additional Info:
developer is aware about the issue, as per him the issue may be happening  because of some acl permission

Comment 2 Susant Kumar Palai 2014-01-06 05:00:19 UTC
Saurav,
    
For doing a rename operation on a file or directory, the user should have write permission on file's parent. It should be consistent.

Can you verify the bug on latest build ?

Comment 3 Vijay Bellur 2015-01-09 06:47:34 UTC
Doesn't seem like a quota issue. Does this issue still happen? If not, can we please close this bug?

Comment 4 Vijaikumar Mallikarjuna 2015-01-09 09:41:37 UTC
Rename failing with "Permission Denied" is the expected behavior if the users doesn't have write permission on the file/dir's parent directory.

Closing as not a bug. Please re-open the bug if file and its parent both has the write permission to the user

Comment 6 Red Hat Bugzilla 2023-09-14 01:53:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.