Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
FsPermissions's string constructor breaks on valid permission strings, like "1777".
This is because FsPermission class naïvely uses UmaskParser to do it’s parsing of permissions: (from source code):
public FsPermission(String mode) {
this((new UmaskParser(mode)).getUMask());
}
The mode string UMask accepts is subtly different (esp wrt sticky bit), so parsing Umask is not the same as parsing FsPermission.
Attachments
Attachments
Issue Links
- is required by
-
HDFS-11084 Add a regression test for sticky bit support of OIV ReverseXML processor
- Resolved