Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

From Ambari Files view permission change is failing

avatar
permission-change-failed.png

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

Please help.

1 ACCEPTED SOLUTION

avatar
Not applicable

@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
Not applicable

@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

@Joy thanks for the information. It worked.