I am unable to change the permissions for a directory in HDFS.
from what i understand acl's supersede all other permissions. even if a directory is not owned by me, but there is an acl for me with rwx then i must be able to change the permissions of that directory.
Please find the permissions and the error i get when changing.
I am not familiar with hdfs in particular, but based on standard filesystems you will not be able to change ownership/perms on someone elses file. If you want your desind user to be your filesystem administrator you should set up sudo rules for that user to manipulate the files and directories.
Something in /etc/sudoers like the following that will let the desind user modify permissions on files/directories within the /adhoc filesystem:
Note that ideally you would put the full path to the hdfs command in the sudoers command alias, but I don't know what the full path is on your system. You can use the following command to determine the location
You are absolutely right. I was just showing the original poster how to execute the command they were trying to execute without commenting on whether or not they should.
Not necessarily, depending on the policy of your company / provider / host admin. And, why should you? And, while you own most of the files in it, it might even be that there are, say, configuration files that are locked by the system admin (although not too probable, though).
The user and group i dont belong to. however there is an ACL on that directory which has desind - rwx
so should'nd i be able to change the permissions ? i understand that home directories should not be 777, i am just trying to understand the behavior when i have an ACL.
That doesn't let you change the permissions, no. 'r' allows you to list the directory, 'w' allows you to create and delete files in it, and 'x' allows you to cd to that folder.