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

Improve message from CLI when writing into the directory without permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.0.0.Beta2
    • 4.0.0.Alpha6
    • CLI
    • None

      Description of problem:
      Cli displays java exception name when trying to write into the file without permission.

      Actual results:
      [standalone@embedded /] echo aaa > /dir/without/permission
      java.nio.file.AccessDeniedException: /dir/without/permission

      Expected results:
      [standalone@embedded /] echo aaa > /dir/without/permission
      Couldn't write into the /dir/without/permission. Permission denied.

            mstefank Martin Stefanko
            kanovotn Katerina Odabasi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: