Bug 1263182 - Administrator able to rename directory even as it has no access to the directory
Summary: Administrator able to rename directory even as it has no access to the direc...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.1
Hardware: x86_64
OS: Windows
unspecified
high
Target Milestone: ---
: ---
Assignee: rhs-smb@redhat.com
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-15 09:36 UTC by Vivek Das
Modified: 2015-09-15 13:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-15 13:47:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Vivek Das 2015-09-15 09:36:29 UTC
Description of problem:

AD user changes the permission of a directory to Read Only for administrator but still administrator is able to rename that directory.

Version-Release number of selected component (if applicable):
samba-4.1.17-13.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Login as an ADMINISTRATOR create a directory in samba share. eg. FOLDER_1
2. Set Read only permissions to FOLDER_1 for ADIMINISTRATOR.
3. Login as an ADMINISTRATOR
4. Rename the directory FOLDER_1

Actual results:
Administrator able to rename the directory.

Expected results:
Administrator should not be able to rename the directory when it has only read permissions.

Additional info:

Comment 2 Vivek Das 2015-09-15 13:46:38 UTC
This is not a bug rather rename is not a file operation thus one can rename the directory given that the parent directory do have a write permission.


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