(fc) Investigate revising the BlockDeviceSize test not to require extra privileges

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 25
    • Component/s: core-libs
    • generic
    • linux

      The test java/nio/channels/FileChannel/BlockDeviceSize.java attempts to access block devices such as /dev/sda1 which typically are readable only by the owner and group members. For example:

      $ ls -l /dev/sda[12]
      brw-rw---- 1 root disk 8, 1 Feb 25 15:40 /dev/sda1
      brw-rw---- 1 root disk 8, 2 Feb 25 15:40 /dev/sda2

      It would be better if a test could be devised which did not require extra permission.

            Assignee:
            Brian Burkhalter
            Reporter:
            Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: