Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.5.0, 3.0.0-alpha1
-
None
-
Reviewed
Description
Currently, FSPermissionChecker#checkOwner throws an AccessControlException with a simple "Permission denied" message.
When users try to set an ACL without ownership permissions, they'll see something like:
[schu@hdfs-vanilla-1 hadoop]$ hdfs dfs -setfacl -m user:schu:--- /tmp setfacl: Permission denied
It'd be helpful if the message had an explanation why the permission was denied to avoid confusion for users who aren't familiar with permissions.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-7292 Improve error messages for checkOwner permission related failures
- Resolved