Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7078355

sun/net/www/protocol/file/DirPermissionDenied.sh leaves garbage on some linux systems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      sun/net/www/protocol/file/DirPermissionDenied.sh has these lines:

      mkdir -p ${TESTDIR}
      chmod 333 ${TESTDIR}
      ...
      rm -rf ${TESTDIR}

      On one of SQE's test machines the "rm -rf" fails saying "cannot open directory...: Permission denied". The machine is a --

      $ uname -a
      Linux sc14160057 2.6.18-238.0.0.0.1.el5xen #1 SMP Tue Jan 4 07:38:47 EST 2011 i686 i686 i386 GNU/Linux
      $ arch
      i686
      $ cat /etc/redhat-release
      Red Hat Enterprise Linux Server release 5.6 (Tikanga)

      It seems this system needs a read access to rm, even if called by the owner.

      The test runs fine on other systems.

        Attachments

          Activity

            People

            Assignee:
            weijun Weijun Wang
            Reporter:
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: