sftp locks can get stuck

James Blackwell jblack at merconline.com
Wed Jan 4 06:14:27 GMT 2006


On Wed, Jan 04, 2006 at 11:49:54AM +1100, Robert Collins wrote:
> On Tue, 2006-01-03 at 18:33 -0600, John Arbash Meinel wrote:
> > 
> > Except FTP doesn't do any locking. As far as I know it doesn't even
> > support O_EXCL to lock the same way sftp does. 
> 
> My point is that we have a writable FTP transport: locking should be
> figured out for it too. And that means we have 3 different sets of
> features that need locking to be interact.

I think ftp may be broken anyways. 

jblack at pluto:~/mycode/web-template$ bzr push ftp://mercury.linuxguru.net/home/jblack/web-template
bzr: ERROR: exceptions.NameError: global name 'extra' is not defined
  at /home/jblack/branches/bzr.dev/bzrlib/transport/ftp.py line 180
  in get
jblack at pluto:~/mycode/web-template$ bzr push ftp://jblack@mercury.linuxguru.net/home/jblack/web-template
bzr: ERROR: Error setting up connection: 530 Login incorrect.
jblack at pluto:~/mycode/web-template$ bzr push ftp://jblack:temppas@mercury.linuxguru.net/home/jblack/web-template
bzr: ERROR: exceptions.NameError: global name 'extra' is not defined
  at /home/jblack/branches/bzr.dev/bzrlib/transport/ftp.py line 180
  in get

-- 
James Blackwell's home :  http://jblack.linuxguru.net
Gnupg 06357400   F-print AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060104/0c854b64/attachment.pgp 


More information about the bazaar mailing list