Comment 10 for bug 214420

Revision history for this message
Rocko (rockorequin) wrote :

This is a usability bug. The behaviour has improved considerably in Jaunty, eg:

1. Attach an ntfs external drive.

2. Try to share a folder through nautilus.

3. The share dialog says:

'net usershare' returned error 255: net usershare add: cannot share path /media/disk1/test as we are restricted to only sharing directories we own.
 Ask the administrator to add the line "usershare owner only = false"
 to the [global] section of the smb.conf to allow this.

4. If you follow the instructions and then click on the 'share' button, samba shares the folder (and there's no need to restart samba).

A more user-friendly option would be the alternative steps 3 and 4:

3. Assuming that the current user has admin rights, the share dialog presents a window that explains you need to enable sharing of non-owned folders, and to prompt for the admin password to do so.

4. Upon entry of the admin password, samba alters its smb.conf file and shares the folder.