Comment 13 for bug 326543

Revision history for this message
Lukáš Zapletal (lzap) wrote :

Hello,

we have discussed my very similar situation on the list months ago. There is still no solution for this.

https://lists.ubuntu.com/archives/bazaar/2009q1/thread.html#54075

I thing here we do have bad design - Bazaar is trying to FTP CHMOD uploaded files according to their permissions on the client box. On the other side Bazaar does not store permissions (with the exception of executable bit). Here we do have a little inconsistency.

But the really big problem is when the client box is running MS Windows. On these systems you do not have UNIX-like file permissions and therefore you are unable to uplad a repository over FTP with other permissions than default ones - which are 700 for directories and 600 for files. This setting is the most secure but pretty unusable for those who needs to publish their branches over web server (e.g. Apache) which runs different user usually.

I recommend to come up with some settings like default_chmod or default_umask or something to allow Windows users to use FTP properly (and UNIX users to override their settings - for example in my HOME dir I keep files with 600 but I need to upload it with 666 onto the FTP server).