Merge lp:~rye/ubuntuone-client/ignore-in-close-write-in-dirs-stable-3-0 into lp:ubuntuone-client/stable-3-0
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | dobey | ||||
Approved revision: | 1192 | ||||
Merged at revision: | 1192 | ||||
Proposed branch: | lp:~rye/ubuntuone-client/ignore-in-close-write-in-dirs-stable-3-0 | ||||
Merge into: | lp:ubuntuone-client/stable-3-0 | ||||
Diff against target: |
75 lines (+51/-0) 2 files modified
tests/platform/linux/test_filesystem_notifications.py (+41/-0) ubuntuone/platform/linux/filesystem_notifications.py (+10/-0) |
||||
To merge this branch: | bzr merge lp:~rye/ubuntuone-client/ignore-in-close-write-in-dirs-stable-3-0 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Diego Sarmentero (community) | Approve | ||
dobey (community) | Approve | ||
Review via email: mp+106629@code.launchpad.net |
This proposal supersedes a proposal from 2012-05-21.
Commit message
Ignore IN_CLOSE_WRITE for directories.
Description of the change
If you approve this, please also approve https:/
This branch adds the same types of filters as are already in place to make sure that events IN_OPEN and IN_CLOSE_NOWRITE work only on files.
eCryptFS layer used in Ubuntu for Private directories can send IN_CLOSE_WRITE on directories breaking syncdaemon and preventing the users from running Ubuntu One with ~/.Private directory.
To test:
0. Before patching:
1. Create a private ecryptfs directory: ecryptfs-
2. After relogin add underlying ~/.Private folder to Ubuntu One: u1sdtool --create-
3. Notice that files do upload
4. Open this directory and put another file in it.
At this point no files will be uploaded for any Ubuntu One directory due to the unexpected event from INotify subsystem. The log will show:
exceptions.
5. Apply the patch and restart syncdaemon.
6. Add another file to the directory. Notice that the amount of entries in https:/
Text conflict in Makefile.am
Text conflict in configure.ac
2 conflicts encountered.