How can I preserve the executable bit on a file that is synchronized by Ubuntu One?

A script I am working on is in a folder that is synchronized by Ubuntu One. Every time I edit it from another computer, it looses its executable bit and I must manually reapply chmod +x.

How can I avoid having to repeatedly set this?


Solution 1:

As Stefano suspected, this is indeed a bug. You can click Subscribe on the top right to have it email progress to you.

Solution 2:

Currently Ubuntu One does not sync metadata about files (last modified time, permissions). The biggest problem is that different systems store different metadata and those that do store similar metadata store it in different ways. There is a bug report you can comment on here: https://bugs.launchpad.net/ubuntuone-client/+bug/385511