[ 
https://issues.apache.org/jira/browse/HDDS-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng reassigned HDDS-4865:
--------------------------------

    Assignee: Siyao Meng

> Improve "ozone fs mkdir -p" error message when users don't have create volume 
> permission
> ----------------------------------------------------------------------------------------
>
>                 Key: HDDS-4865
>                 URL: https://issues.apache.org/jira/browse/HDDS-4865
>             Project: Apache Ozone
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> When the user doesn't have permission to create volume, the mkdir -p command 
> implicitly involving volume creation will fail with a confusing message 
> "Volume vol2 is not found"
> --
> -A change might have broken the semantics of "-p":-
> {code}
> $ ozone fs -mkdir -p ofs://ozone1/vol2/bucket2/
> mkdir: Volume vol2 is not found
> {code}
> This should create volume vol2, and then create bucket2. This worked as 
> expected during my development of OFS.
> But now it seems to ignore '-p'.
> To be verified on master branch.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to