Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8208

ROOT_LOGROTATE_RotateWithSwitchUserTrueOrFalse depends on permissive home directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • flaky, test
    • None

    Description

      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:

      drwxr-xr-x+ 84 alex  staff   2.8K Nov  2 19:56 alex/
      

      This will fail:

      drwx------. 55 jpeach jpeach 4096 Nov 10 09:00 /home/jpeach/
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jamespeach James Peach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: