9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] losing files with ftpfs(4)
@ 2004-09-07 21:11 Alberto Cortes
  2004-09-07 21:41 ` Russ Cox
  0 siblings, 1 reply; 7+ messages in thread
From: Alberto Cortes @ 2004-09-07 21:11 UTC (permalink / raw)
  To: 9fans

I have an ftp server (no plan9 host), it serve some files and
directories.

When a client connects to my ftp server it shows a write protected
directory containing some readable files and some writable
directories.

If i ftpfs to it and try to "mv" a file to the mount point (write
protected) this happens:

term% ftpfs -m /usr/glenda/ftp -a xxxx@yyyyy.com 172.26.0.4
220 ProFTPD 1.2.5rc1 Server (Debian) [shire]
331 Anonymous login ok, send your complete email address as your password.
230 Anonymous access granted, restrictions apply.
215 UNIX Type: L8
257 "/" is current directory.
term% mv foo ftp/
226-Transfer complete.
ftpfs: couldn't create file 

Which is quite annoying as i find myself with no "foo" file on the ftp
server (that's OK) AND no "foo" file on my plan9 side (which is
certainly not OK).

Is this the expected behaviour of ftpfs ?

Could it be that "ftpfs" isn't checking for permission before saying
"mv": "i can handle this, just finish your work" ?


sorry for not tracking the problem much more but i am not very
experienced with this things.


-- 
http://montoya.aig.uc3m.es/~acortes/index.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-09-08  2:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07 21:11 [9fans] losing files with ftpfs(4) Alberto Cortes
2004-09-07 21:41 ` Russ Cox
2004-09-07 22:03   ` boyd, rounin
2004-09-07 23:07     ` jmk
2004-09-07 23:09       ` boyd, rounin
2004-09-08  1:53         ` Joseph Holsten
2004-09-08  2:32           ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).