Share name collisions possible between user and global shares

Bug #628529 reported by jhansonxi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus-share (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: nautilus-share

Ubuntu 10.04 (Lucid Lynx)

When a global share is created in /etc/samba/smb.conf (like with shares-admin) the same name can be specified with nautilus-share (/var/lib/samba/usershares).

Example: create a directory /home/public and use shares-admin to share it as "public". Login to a user account and share ~/Public with Nautilus as "Public". Obviously a SMB conflict but no complaints at all (even in logs). The global share seems to take priority.

This may be a Samba bug with the net command as nautilus-share seems to use it to create user shares.

Revision history for this message
jhansonxi (jhansonxi) wrote :

Bug #297848 is similar to this.

affects: nautilus-share (Ubuntu) → samba (Ubuntu)
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hello jhansonxi, thank you for taking the time to file this bug report and help make Ubuntu better!

This is not really a bug in Samba. Samba is working exactly as it is designed, by having the system level configuration file override any ephemeral shares created with the net command.

I tried to reproduce this issue on Ubuntu 10.10, and it happened as mentioned above. Nautilus-share should warn the user that their share name conflicts with a system level share.

As such, I'm reassigning this bug back to nautilus-share, and marking it as Confirmed.

Setting importance to Low, as this only affects users who have setup system level shares.

affects: samba (Ubuntu) → nautilus-share (Ubuntu)
Changed in nautilus-share (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.