You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2017/11/10 17:15:00 UTC

[jira] [Created] (MESOS-8208) ROOT_LOGROTATE_RotateWithSwitchUserTrueOrFalse depends on permissive home directories

James Peach created MESOS-8208:
----------------------------------

             Summary: ROOT_LOGROTATE_RotateWithSwitchUserTrueOrFalse depends on permissive home directories
                 Key: MESOS-8208
                 URL: https://issues.apache.org/jira/browse/MESOS-8208
             Project: Mesos
          Issue Type: Bug
          Components: flaky, test
            Reporter: James Peach


The {{bool/UserContainerLoggerTest.ROOT_LOGROTATE_RotateWithSwitchUserTrueOrFalse/0}} test runs a binary from the tester's home directory as the user {{nobody}}. This can fail depending on how permissive the directory permissions are (i.e. it requires traverse permission for others).

This will work:
{noformat}
drwxr-xr-x+ 84 alex  staff   2.8K Nov  2 19:56 alex/
{noformat}

This will fail:
{noformat}
drwx------. 55 jpeach jpeach 4096 Nov 10 09:00 /home/jpeach/
{noformat}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)