shared folder still shared even if recreated after deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Unknown
|
Medium
|
|||
nautilus (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs | ||
nautilus-share (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: nautilus-share
To reproduce, on Karmic 9.10 Alpha 2:
1. Create a new folder.
2. Select Sharing Options from its menu.
3. Turn on sharing. (At this point samba may install, if you haven't shared before.)
4. The sharing emblem appears on the icon. Okay.
5. Now delete the folder.
6. Now create a new folder with the same name.
7. It still has a sharing emblem, at what is more, is still shared! I expected that it would be a new, unshared folder.
Proposed solution: unshare folders when deleted, and possibly also when moved/renamed.
ProblemType: Bug
Architecture: i386
Date: Fri Jul 17 14:48:33 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.27.4-0ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: nautilus
Uname: Linux 2.6.31-3-generic i686
Changed in nautilus: | |
status: | Unknown → New |
Changed in nautilus: | |
importance: | Unknown → Medium |
status: | New → Unknown |
On Saturday 18,July,2009 02:58 AM, John Baptist wrote:
> To reproduce, on Karmic 9.10 Alpha 2:
>
> 1. Create a new folder.
> 2. Select Sharing Options from its menu.
> 3. Turn on sharing. (At this point samba may install, if you haven't shared before.)
> 4. The sharing emblem appears on the icon. Okay.
> 5. Now delete the folder.
> 6. Now create a new folder with the same name.
> 7. It still has a sharing emblem, at what is more, is still shared! I expected that it would be a new, unshared folder.
It's a new folder, yes. But it's still shared.
> Proposed solution: unshare folders when deleted, and possibly also when
> moved/renamed.
I believe there isn't a way to detect when folders are deleted, moved,
or renamed in Nautilus, due to shortcomings in its extension interface
at the moment. I'll mark this as affecting Nautilus as well.
affects ubuntu/ nautilus- share
status confirmed
importance wishlist
affects ubuntu/nautilus
A workaround that could be implemented in nautilus-share code would be
to detect whether the path exists when loading the list of shares, and
deleting the share if the path does not exist. However, this could cause
issues for shares in certain mountpoints which have not been mounted yet
when Nautilus loads.
The best way would be for Nautilus to have some manner of allowing
plugins to hook onto events such as deletion/renaming of files and folders.
--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer