Red Hat Bugzilla – Bug 1263182
Administrator able to rename directory even as it has no access to the directory
Last modified: 2015-09-15 09:47:09 EDT
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):
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
Administrator able to rename the directory.
Administrator should not be able to rename the directory when it has only read permissions.
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.