[jboss-jira] [JBoss JIRA] (WFCORE-3553) Improve message from CLI when writing into the directory without permission

Martin Stefanko (JIRA) issues at jboss.org
Fri Feb 2 11:47:00 EST 2018


     [ https://issues.jboss.org/browse/WFCORE-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stefanko resolved WFCORE-3553.
-------------------------------------
    Resolution: Done


Current output:

{code}
[standalone at embedded /] echo aaa > ./dir/without/permission
./dir/without/permission (Permission denied)
aaa > ./dir/without/permission
{code}

[~kanovotn] If you still don't think it is sufficient enough, reopen the issue please.

> Improve message from CLI when writing into the directory without permission
> ---------------------------------------------------------------------------
>
>                 Key: WFCORE-3553
>                 URL: https://issues.jboss.org/browse/WFCORE-3553
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 4.0.0.Alpha6
>            Reporter: Katerina Novotna
>            Assignee: Martin Stefanko
>            Priority: Minor
>
> *Description of problem:*
> Cli displays java exception name when trying to write into the file without permission.
> *Actual results:*
> [standalone at embedded /] echo aaa > /dir/without/permission
> java.nio.file.AccessDeniedException: /dir/without/permission
> *Expected results:*
> [standalone at embedded /] echo aaa > /dir/without/permission
> Couldn't write into the /dir/without/permission. Permission denied.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list