Chris Nauroth created HDFS-4314: ----------------------------------- Summary: failure to set sticky bit regression on branch-trunk-win Key: HDFS-4314 URL: https://issues.apache.org/jira/browse/HDFS-4314 Project: Hadoop HDFS Issue Type: Bug Components: hdfs-client Affects Versions: trunk-win Reporter: Chris Nauroth Assignee: Chris Nauroth Fix For: trunk-win
The problem is visible by running {{TestDFSShell#testFilePermissions}}. The test fails on trying to set sticky bit. The problem is that branch-trunk-win accidentally merged in a branch-1 change in {{RawLocalFileSystem#setPermission}} to call {{FileUtil#setPermission}}, which sets permissions using Java {{File}} API. There is no way to set sticky bit through this API. We need to switch back to the trunk implementation of {{RawLocalFileSystem#setPermission}}, which uses either native code or a shell call to external chmod. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira