Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

From Ambari Files view permission change is failing

avatar
Contributor
permission-change-failed.png

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

Please help.

1 ACCEPTED SOLUTION

avatar

@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.

View solution in original post

2 REPLIES 2

avatar

@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.

avatar
Contributor

@Joy thanks for the information. It worked.