Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

From Ambari Files view permission change is failing

Solved Go to solution
Highlighted

From Ambari Files view permission change is failing

New Contributor
permission-change-failed.png

From Ambari Files view permission change is failing. Attaching screenshot.

Please help.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: From Ambari Files view permission change is failing

@Subrata Bandyopadhyay

Looks like the user who logged in to the "File View" is "admin" and that user is not having can not edit / write / change permission which is having "hdfs:hdfs:drwxr-xr-x" permission directories/files. Try creating a directory for that partiaular user like "/user/admin" in the HDFS and then give read write access to the user in that directory and then try changing the permissions.

You should be able to change the permission only for the directory where you have the proper permission.

For example create the following directory

 su - hdfs
 hdfs dfs -mkdir /user/admin
 hdfs dfs -chown admin:hadoop /user/admin

Try then above then login to the "File View" with "admin" user and then try changing the permission of "/user/admin" directory.

2 REPLIES 2

Re: From Ambari Files view permission change is failing

@Subrata Bandyopadhyay

Looks like the user who logged in to the "File View" is "admin" and that user is not having can not edit / write / change permission which is having "hdfs:hdfs:drwxr-xr-x" permission directories/files. Try creating a directory for that partiaular user like "/user/admin" in the HDFS and then give read write access to the user in that directory and then try changing the permissions.

You should be able to change the permission only for the directory where you have the proper permission.

For example create the following directory

 su - hdfs
 hdfs dfs -mkdir /user/admin
 hdfs dfs -chown admin:hadoop /user/admin

Try then above then login to the "File View" with "admin" user and then try changing the permission of "/user/admin" directory.

Re: From Ambari Files view permission change is failing

New Contributor

@Joy thanks for the information. It worked.

Don't have an account?
Coming from Hortonworks? Activate your account here