syncdaemon allows creation of folder using symlinks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
Medium
|
Guillermo Gonzalez | ||
ubuntuone-client (Ubuntu) |
Fix Released
|
Medium
|
dobey |
Bug Description
* I create a folder named:
the-real-
* then, I created a symlink pointing to it:
lrwxrwxrwx 1 nessita nessita 22 2010-03-31 17:02 TheSuperMusicUDF -> the-real-
* then, I used u1sdtool to make TheSuperMusicUDF an UDF:
nessita@dali:~$ u1sdtool --create-
this call blocked and never returned until killed. SD log shown:
# IDLE state
2010-03-31 17:02:30,527 - ubuntuone.
# create folder was called
2010-03-31 17:02:36,936 - ubuntuone.
2010-03-31 17:02:36,936 - ubuntuone.
2010-03-31 17:02:36,938 - ubuntuone.
2010-03-31 17:02:36,938 - ubuntuone.
2010-03-31 17:02:36,938 - ubuntuone.
2010-03-31 17:02:36,939 - ubuntuone.
2010-03-31 17:02:36,939 - ubuntuone.
2010-03-31 17:02:36,939 - ubuntuone.
2010-03-31 17:02:36,939 - ubuntuone.
2010-03-31 17:02:36,940 - ubuntuone.
2010-03-31 17:02:36,942 - ubuntuone.
2010-03-31 17:02:45,490 - ubuntuone.
# the UDF was correctly created on the server!
2010-03-31 17:02:45,490 - ubuntuone.
2010-03-31 17:02:45,491 - ubuntuone.
2010-03-31 17:02:45,491 - ubuntuone.
2010-03-31 17:02:45,515 - ubuntuone.
2010-03-31 17:02:45,528 - ubuntuone.
# BOOM!
2010-03-31 17:02:45,529 - ubuntuone.
2010-03-31 17:02:45,532 - ubuntuone.
2010-03-31 17:02:45,532 - ubuntuone.
Traceback (most recent call last):
File "/usr/lib/
method(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
d = self._scan_udf(udf)
File "/usr/lib/
d = self.m.
File "/usr/lib/
raise ValueError(m)
ValueError: The path is in disk but it's not a dir: '/home/
# nothing else happens
2010-03-31 17:02:45,564 - ubuntuone.
2010-03-31 17:02:45,565 - ubuntuone.
2010-03-31 17:02:45,565 - ubuntuone.
2010-03-31 17:02:45,565 - ubuntuone.
2010-03-31 17:02:45,565 - ubuntuone.
2010-03-31 17:04:30,527 - ubuntuone.
Related branches
- Stuart Colville (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 81 lines (+58/-2)2 files modifiedtests/syncdaemon/test_vm.py (+51/-0)
ubuntuone/syncdaemon/volume_manager.py (+7/-2)
Changed in ubuntuone-client: | |
status: | New → Confirmed |
assignee: | nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
importance: | Undecided → Medium |
summary: |
- u1sdtool allows creation of folder using symlinks + syncdaemon allows creation of folder using symlinks |
tags: | added: chicharra u1-lucid |
Changed in ubuntuone-client: | |
assignee: | Ubuntu One Foundations+ team (ubuntuone-foundations+) → Guillermo Gonzalez (verterok) |
status: | Confirmed → In Progress |
Changed in ubuntuone-client (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
Changed in ubuntuone-client (Ubuntu): | |
status: | Confirmed → Fix Released |