Comment 9 for bug 326543

Revision history for this message
Andrea Bolognani (kiyuko) wrote : Re: Broken permissions over FTP for .bzr/repository (and others)

Here's what I get (personal information edited out):

$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bzrlib.transport import get_transport
>>> t = get_transport('ftp://<username>:<password>@<ftphost>/<directory>');
>>> t.stat('.');
<bzrlib.transport.ftp.FtpStatResult object at 0x9bb39ec>
>>> '%o' % t.stat('.').st_mode
'40000'
>>>

I think it's worth noting you are using SFTP while I'm hitting the bug with plain FTP.