Unable to create shares
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
In a brand new Hardy install with all the updates, I am unable to create a SAMBA share. These are the steps I took:
1. Right-click the folder I want to share.
2. Click on "Sharing Options"
3. Put a check in "Share this folder"
4. Run through the initial SAMBA installation.
5. Click on the "Create Share" button.
6. An error says, "'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/
Because I am running under the default Administrator user that is created during the installation, I would expect to be asked for the administrative password and then be allowed to create the share. Being told to "ask your administrator to grant you the permissions" when you are the administrator doesn't make too much sense.
I just ran into this also, but I think I know the problem (mostly):
When you first try to share a folder, it offers to install SAMBA. You accept, and it installs SAMBA, and also makes you a member of the group "sambashare". However, until you re-login, your not considered really to be a member of the "sambashare" group. So the real issue here is that you have to log out and back in again before you can share a folder. But a related bug is that the user isn't told about this issue, and instead gets a slightly cryptic error message.