-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9.0, 3.0.0-alpha2, 2.8.2, 2.7.6
-
Component/s: None
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
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.
- is required by
-
HDFS-11084 Add a regression test for sticky bit support of OIV ReverseXML processor
-
- Resolved
-