Sandor Molnar created AMBARI-23399:
--------------------------------------

             Summary: PasswordUtilsTest fails if running as 'root'
                 Key: AMBARI-23399
                 URL: https://issues.apache.org/jira/browse/AMBARI-23399
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.0
            Reporter: Sandor Molnar
            Assignee: Sandor Molnar
             Fix For: 2.7.0


If 
org.apache.ambari.server.utils.PasswordUtilsTest.shouldReadDefaultPasswordIfPasswordPropertyIsPasswordFilePathButItIsNotReadable()
 is running by _root_ user the File.setReadable does not work -> the build will 
fail.

We should consider using
java.nio.file.attribute.PosixFilePermissions
I'll disable this use case until it's fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to