Files still get downloaded from "unsubscribed" folder
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
High
|
Natalia Bidart | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Even if a folder is unsubscribed the files uploaded to that folder via web ui or different client get downloaded locally thus defeating the purpose of unsubscribing from a folder.
STR:
1. Create a new udf, say, ~/zomg
2. Verify that it was created - u1sdtoll --list-folders
3. Unsubscribe that UDF - u1sdtool --unsubscribe=
4. Verify that ~/zomg is unsubscribed - subscribed=False
5. Go to https:/
6. Wait for the file to be uploaded, observe the file to be created locally
Even if you physically move the folder to another name, syncdaemon will want to download the file and fail with:
2010-11-29 23:43:00,873 - ubuntuone.
Traceback (most recent call last):
File "/usr/lib/
af(event_name, parameters, *args)
File "/usr/lib/
self.
File "/usr/lib/
shutil.
File "/usr/lib/
copy2(src, real_dst)
File "/usr/lib/
copyfile(src, dst)
File "/usr/lib/
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: '/home/
Related branches
- Guillermo Gonzalez: Approve
- Roberto Alsina (community): Approve
-
Diff: 2054 lines (+844/-343)5 files modifiedtests/platform/linux/test_dbus.py (+2/-0)
tests/syncdaemon/test_localrescan.py (+4/-3)
tests/syncdaemon/test_vm.py (+746/-310)
ubuntuone/platform/linux/dbus_interface.py (+1/-1)
ubuntuone/syncdaemon/volume_manager.py (+91/-29)
tags: | added: chicharra-natty u1-natty |
Changed in ubuntuone-client: | |
assignee: | Ubuntu One Foundations+ team (ubuntuone-foundations+) → Guillermo Gonzalez (verterok) |
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
assignee: | Guillermo Gonzalez (verterok) → Naty Bidart (nataliabidart) |
Attaching log of how syncdaemon downloaded a file to a non subscribed UDF. Instructions above worked perfectly to reproducing.