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

should not be able to save files in demo/jfc/Stylepad if permission deny

XMLWordPrintable

    • generic
    • generic

      JDK: tiger, mustang

      How to reproduce:
      1. install JDK.
      2. launch demo/jfc/Stylepad demo by running "bin/java -jar demo/jfc/Stylepad/*jar"
      3. Open File-> Save, pick README.html to save the file as README.html. Even though the file does not have writable persmission. It will be overwriten with the new file. This means it can be saved to any existing files even src.zip.
      -r--r--r-- 1 root root 20274 Nov 17 02:16 README.html

      It should check permissions and warm users it will replace the original file.

            shickeysunw Shannon Hickey (Inactive)
            schien Suchen Chien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: