cifs mounts: unable to move dangling symlinks (case of svn ceckout with symlinks)
Bug #117727 reported by
casbon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Fix Released
|
Medium
|
|||
samba (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: smbfs
Sometimes, a cifs mount refuses to remove an empty directory. It can easily be removed on the samba server, but not on the client.
james@palermo:
...
//newyork/james on /home/james type cifs (rw,mand)
...
james@palermo:
total 0
drwxr-xr-x 2 james james 0 2007-05-30 11:22 .
drwxr-xr-x 3 james james 0 2007-05-30 11:22 ..
james@palermo:
rm: cannot remove `tmp/': Is a directory
james@palermo:
rmdir: tmp/: Directory not empty
james@palermo:
rm: cannot remove directory `tmp/': Directory not empty
Changed in samba: | |
status: | Unknown → In Progress |
Changed in samba (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in samba: | |
status: | In Progress → Fix Released |
Changed in samba: | |
importance: | Unknown → Medium |
To post a comment you must log in.
This seems to be due to the fact that samba refuses to show dangling symlinks:
james@palermo:~$ mkdir test1
james@palermo:~$ touch test1/dest
james@palermo:~$ ln -s test1/dest test1/link
james@palermo:~$ rm test1/dest
james@palermo:~$ ls -l test1/
total 0
james@palermo:~$ rmdir test1
rmdir: test1: Directory not empty