[ 
https://issues.apache.org/jira/browse/FTPSERVER-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655231#action_12655231
 ] 

David Latorre commented on FTPSERVER-227:
-----------------------------------------

  Should be fixed at revision 725059.

   I changed the error code to 450 which indeed seems more appropriate so I had 
to update the test case "for case-insensitive" systems. Other than it is Sai's 
patch I think. Thanks Sai! 

  Probably we should also check if we are deleting a parent directory from the 
cwd but we could  keep adding patches and nothing but file locking would solve 
all the possible issues. 

 

 

> RMD command should not delete the current working directory or the any parent 
> of current working directory
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-227
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-227
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0-M4
>            Reporter: Sai Pullabhotla
>            Assignee: David Latorre
>             Fix For: 1.0.0-RC1
>
>         Attachments: FTPSERVER-227_patch.text
>
>
> RMD command should not delete the current working directory or the any parent 
> of current working directory. 
> case 1: Let us say, the current working directory is "/wd" then "RMD ." or 
> RMD "/wd" should result in a 5XX reply. 
> case 2: Let us say the working directory is "/wd/subdir", then RMD /wd or 
> "RMD .." should also be restricted and a 5xx reply should be sent. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to