You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/05 13:32:00 UTC
[jira] [Commented] (AMBARI-23399) PasswordUtilsTest fails if
running as 'root'
[ https://issues.apache.org/jira/browse/AMBARI-23399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426923#comment-16426923 ]
Hudson commented on AMBARI-23399:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8990 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8990/])
AMBARI-23399. Disabled use case until it's fixed for any user (rlevas: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e463122db4e53cf83952ac77be0a64381c5df814])
* (edit) ambari-server/src/test/java/org/apache/ambari/server/utils/PasswordUtilsTest.java
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> 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)