Empty conflict files have executable file permissions

Bug #408126 reported by Ryan Maki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Medium
Lucio Torre

Bug Description

Partial files (with corresponding .u1partial.* files) on my system are executable, mode 755, even if they were 644 on the original machine. I have two files which have not completed syncing, and both are in this state.

Package: ubuntuone-client
Version: 0.91.1+r113-0ubuntu1~ppa1~jaunty

Package: ubuntuone-storage-protocol
Version: 0.90.2+r45-0ubuntu1~ppa1~jaunty

Since this seems slightly different than the "final" permissions (bug 385511) I've reported it in a new issue. Feel free to mark this as a corner case duplicate of that if this is all one issue.

Revision history for this message
John Lenton (chipaca) wrote :

Hello, thank you for testing Ubuntu One!

We do absolutely nothing with permissions (other than setting some folders readonly), so the only thing I can think of is that you have your Ubuntu One folder on a FAT or similar filesystem, where everything is executable.

I'll repeat myself, just to be clear: no file permission information is sent over the wire, ever. The only 'chmod' you'll find in ubuntuone-syncdaemon is the one related to setting some folders read-only.

So I'm grasping at straws as to what you are seeing. Could you come up with a way we can reproduce it?

Thanks,

Changed in ubuntuone-client:
assignee: nobody → Lucio Torre (lucio.torre)
status: New → Incomplete
Ryan Maki (ryan.maki)
summary: - Partial files are have executable file permissions
+ Conflict files are have executable file permissions
Revision history for this message
Ryan Maki (ryan.maki) wrote : Re: Conflict files are have executable file permissions

I probably shouldn't file bug reports in the middle of the night, instead of "partial" files I meant to say "conflict" files.

The files in question are zero-byte *.u1conflict files. Also, the last time that this happened was August 2, and I haven't seen this problem since then, but I still have a number of unresolved conflicts.

I don't use any FAT file system on the machines that I've been using for U1 testing. All of the partitions where I've been testing are using JFS. I can also verify that the original file on my home machine had 664 permissions and the zero byte .u1conflict on my work laptop was 755. Only the zero-byte conflict files are executable, the conflict files with data are set to umask (022) permissions.

I've gotten most of my conflict files by switching off wireless on my laptop at work during a sync. We have both a wired and wireless network and I sometimes forget to switch off my laptop wireless until I log in and Evolution can't connect to my email (because it's timing out on the public wireless connection). This also happens to be the time that the U1 sync is checking all of the files and syncing changes from my home machine.

If the files which were partials at that time are ones that I'm working on that day I'll resort to `scp -p` from my home machine to get the updated file. I manually delete the partial file. These seem to be the files which are conflicting.

tags: added: foundations+
Changed in ubuntuone-client:
status: Incomplete → Triaged
importance: Undecided → Medium
Ryan Maki (ryan.maki)
summary: - Conflict files are have executable file permissions
+ Empty conflict files have executable file permissions
tags: added: chicharra
tags: added: chicharra-maverick
tags: added: chicharra-natty
removed: chicharra-maverick
tags: added: chicharra-oneiric
removed: chicharra-natty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.