URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13101>
Summary: Moving/copying single files to FTP VFS Project: GNU Midnight Commander Submitted by: ZlatkO Submitted on: Mon 05/16/2005 at 17:14 Category: None Severity: 2 - Minor Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: current (CVS or snapshot) Platform Version: GNU/Linux _______________________________________________________ Details: Originally sent to mc-devel[1]: --- BEGIN ORIGINAL MESSAGE --- When moving/copying a *single* file to an FTP VFS where I only have execute permission on the parent directory (ie. no read and write), I have to add a trailing slash ("/") to the target specification manually, or else I get a "Permission denied" from the FTP server. Copying/moving *multiple* files works fine. This might be some sort of special case, actually. Here's the file hierarchy and permission details: [root blah]:/home/ftp/blahftp# ls -la total 32 drwxrwx--x 4 root ftp 4096 Jan 13 15:56 . drwxr-xr-x 9 root root 4096 Oct 5 18:09 .. drwxrwxrwx 2 ftp ftp 20480 Jan 15 14:18 hidden_dir_1 drwxrwxrwx 2 ftp ftp 4096 Dec 19 16:50 hidden_dir_2 [...] [root blah]:/home/ftp/blahftp# The net effect of this is that you have full access to the hidden_dirs, but you have to know its name. If you log on to the FTP server's root, it appears empty, and you're not allowed to upload files or create directories there (yes, I'm aware that this is security by obscurity, thank you very much ;-). Coming back to the problem at hand, when I want to copy/move a single file to hidden_dir_2 (ie. the target specification in the copy/move dialog box is "/#ftp:ftp.security-by-obscurity.net/hidden_dir_2"), I get "Permission denied". If I manually add a trailing slash (ie. target specification "/#ftp:ftp.security-by-obscurity.net/hidden_dir_2/"), it works fine. Copying/moving *multiple* files also works fine even without a trailing slash, somehow mc seems to automagically do the right thing in this case. It's not a big problem, to be honest, but merely a minor annoyance. --- END ORIGINAL MESSAGE --- This bug is still present as of mc-4.6.1-pre4a. Just adding this to Savannah to make sure it's not forgotten. [1] http://mail.gnome.org/archives/mc-devel/2005-January/msg00020.html _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13101> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel