[
https://issues.apache.org/jira/browse/FTPSERVER-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Gustavsson updated FTPSERVER-227:
----------------------------------------
Description:
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.
was:
DELE 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 "DELE ." or
DELE "/wd" should result in a 5XX reply.
case 2: Let us say the working directory is "/wd/subdir", then DELE /wd or
"DELE .." should also be restricted and a 5xx reply should be sent.
Summary: RMD command should not delete the current working directory or
the any parent of current working directory (was: DELE command should not
delete the current working directory or the any parent of current working
directory)
> 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
> Fix For: 1.0.0-RC1
>
>
> 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.