[forge-issues] [JBoss JIRA] (FORGE-1389) rm doesn't remove a none empty directory

George Gastaldi (JIRA) issues at jboss.org
Tue Dec 31 11:51:32 EST 2013


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

George Gastaldi closed FORGE-1389.
----------------------------------

         Assignee: George Gastaldi
    Fix Version/s: 2.0.0.Final
       Resolution: Won't Fix


[~agoncal],

You need to use the {{-r}} flag:

eg: {{rm -rf agoncal-application-petstore-ee7}}
                
> rm doesn't remove a none empty directory
> ----------------------------------------
>
>                 Key: FORGE-1389
>                 URL: https://issues.jboss.org/browse/FORGE-1389
>             Project: Forge
>          Issue Type: Sub-task
>          Components: UI - Shell
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Antonio Goncalves
>            Assignee: George Gastaldi
>             Fix For: 2.0.0.Final
>
>
> When I try to remove a none empty directory, even with the {{--force}} argument, it doesn't work :
> {code}
> [temp]$ rm agoncal-application-petstore-ee7
> ***ERROR*** rm: directory not empty and cannot be removed without '--force' '-f' option.
> [temp]$ rm -f agoncal-application-petstore-ee7
> ***ERROR*** directory not empty
> [temp]$ rm --force agoncal-application-petstore-ee7
> ***ERROR*** directory not empty
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list