Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3559

FilePermissionTestCase permission checking issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Alpha1
    • None
    • CLI, Test Suite
    • None

      On my mac laptop the test is failing with:
      testFileDefaultPermissions(org.jboss.as.test.integration.management.cli.FilePermissionTestCase) Time elapsed: 1.273 sec <<< FAILURE!
      java.lang.AssertionError: The test file has unexpected permissions: rw-r-r-
      Expected: is "rw-rw-r--"
      but: was "rw-r-r-"
      at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      at org.jboss.as.test.integration.management.cli.FilePermissionTestCase.testFileDefaultPermissions(FilePermissionTestCase.java:102)

      My mask could make the files to be created with these permissions, do we really want to check that?

              kanovotn Katerina Odabasi
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: