[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp/ange-ftp: error in creation of dir's
From: |
Martin Steffen |
Subject: |
Re: tramp/ange-ftp: error in creation of dir's |
Date: |
Tue, 20 Nov 2007 22:10:22 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi.
>>>>> "Michael" == Michael Albinus <michael.albinus@gmx.de> writes:
>> expect). Getting into the displayed directory /Volume_1 in the dired
>> gets me there, as exected. The next command, the attempted creation
>> of "testdir", fails. So I can browse fine, but creating directories
>> does not work (the same happens when trying to delete an empty
>> directory).
Michael> OK. Could you, please, run a native test from the command
Michael> line:
So, here is the log of the commands, you
gave:
---------------------------------------------------------------
[msteffen@localhost ~]$ ftp 192.168.1.4
Connected to 192.168.1.4 (192.168.1.4).
220 sputstore FTP server (Version wu-2.6.2(52) Tue Jan 2 14:13:26 CST 2007)
ready.
Name (192.168.1.4:msteffen):
331 Password required for msteffen.
Password:
230-Welcome to my FTP site.
230-Now is the time ==> Tue Nov 20 21:57:17 2007
230-The host name is sputstore
230-You are msteffen
230-There are 1 person in my site, now.
230-
230-
230 User msteffen logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> pwd
257 "/" is current directory.
ftp> cd /
250 CWD command successful.
ftp> ls -al
227 Entering Passive Mode (192,168,1,4,216,113)
150 Opening ASCII mode data connection for directory listing.
total 14
drwxr-xr-x 4 root root 1024 Nov 19 2007 .
drwxr-xr-x 18 root root 1024 Nov 19 2007 ..
drwxrwxrwx 8 root root 4096 Nov 19 20:12 Volume_1
drwxr-xr-x 2 root root 1024 Feb 14 2007 web_page
226 Transfer complete.
ftp> quote mdtm /
550 /mnt: not a plain file.
ftp> cd /Volume_1
250 CWD command successful.
ftp> ls -al
227 Entering Passive Mode (192,168,1,4,67,17)
150 Opening ASCII mode data connection for directory listing.
total 66
drwxrwxrwx 8 root root 4096 Nov 19 2007 .
drwxr-xr-x 4 root root 1024 Nov 19 2007 ..
drwxrwxrwx 2 root root 4096 Nov 17 2007 .lpd
drwxrwxrwx 4 root root 4096 Nov 19 2007 Music
-rwxrwxrwx 1 root root 2 Nov 18 2007 XXX
drwxrwxrwx 3 root root 4096 Nov 17 2007 sputnik
drwxrwxrwx 2 root root 4096 Nov 19 2007 testdir
drwxrwxrwx 2 root root 4096 Nov 18 2007 testfolder
226 Transfer complete.
ftp> quote mdtm /Volume_1/
550 /Volume_1: No such file or directory.
ftp> mkdir /Volume_1/testdir
550 /Volume_1/testdir: No such file or directory.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 986 bytes in 0 transfers.
221-Thank you for using the FTP service on sputstore.
221 Goodbye.
[msteffen@localhost ~]$
-------------------------------------
Michael> # ftp 192.164.1.4
ftp> pwd
>> 257 "/Volume_1" is current directory.
ftp> mkdir testdir
>> 257 "/mnt/HD_a2/testdir" new directory created.
yes, that looks strange.
Michael> Looks like "/Volume_1" is a link or so, because "testdir" has
Michael> been created on another physical location.
Michael> Ah. Samba on FAT32 likely. This could explain why the smb
Michael> based copy results in shortened file names.
Well, strangely enough, the DNS-323 is BSD-based, as I heared
Michael> Off topic: looks like it is possible to run native Linux on a
Michael> D-Link DNS-323. I did something similar with my Linksys NSLU2,
Michael> and I'm happy with it.
[Off topic as well: Yes, I have seen that. Not sure whether I dare to do
that at the current stage.... Actually, the thing works fine (for instance
it connected in a blink to my noxon internet radio via UNpP AV). The only
thing I need to find out a decent way of using it for backups]
cheers, Martin