[Cyberduck-trac] [Cyberduck] #6504: Issue with RMD and full path on vsftpd

Cyberduck trac at trac.cyberduck.ch
Thu Jan 26 12:33:58 CET 2012


#6504: Issue with RMD and full path on vsftpd
---------------------------+----------------------
 Reporter:  Anhubert       |         Owner:
     Type:  defect         |        Status:  new
 Priority:  high           |     Milestone:
Component:  core           |       Version:  4.2.1
 Severity:  blocker        |    Resolution:
 Keywords:                 |  Architecture:  Intel
 Platform:  Mac OS X 10.7  |
---------------------------+----------------------

Comment (by Anhubert):

 I finally found out, that this is indeed a serious Bug!
 I tried it with an older version 3.4.1, there the problem does not occure,
 here the details:
 CWD /somedir/test
 250 Directory successfully changed.
 NOOP
 200 NOOP ok.
 STAT /somedir/test
 213-Status follows:
 drwxrwsrwx    2 867      867             2 Jan 26 01:30 .
 drwxrwsr-x    6 867      867            29 Jan 26 09:42 ..
 213 End of status
 PASV
 227 Entering Passive Mode (80,72,140,13,15,175).
 LIST -a
 150 Here comes the directory listing.
 drwxrwsrwx    2 867      867             2 Jan 26 01:30 .
 drwxrwsr-x    6 867      867            29 Jan 26 09:42 ..
 226 Directory send OK.
 CWD /somedir
 250 Directory successfully changed.
 RMD test


 And this is, how 4.3.1 acts:
 STAT /somedir/test/test2
 213-Status follows:
 drwxrwsrwx    2 867      867             2 Jan 26 11:28 .
 drwxrwsrwx    3 867      867             3 Jan 26 11:28 ..
 213 End of status
 CWD /somedir/test/test2
 250 Directory successfully changed.
 TYPE A
 200 Switching to ASCII mode.
 PASV
 227 Entering Passive Mode (80,72,140,13,15,167).
 LIST -a
 150 Here comes the directory listing.
 drwxrwsrwx    2 867      867             2 Jan 26 11:28 .
 drwxrwsrwx    3 867      867             3 Jan 26 11:28 ..
 226 Directory send OK.
 RMD /somedir/test/test2
 550 Remove directory operation failed.
 RMD /somedir/test
 550 Remove directory operation failed.

 So the difference is 3.4.1 is changing one directory up, before trying to
 delete:
 CWD /somedir

 Please fix that bug.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/6504#comment:8>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list