Normal user cannot share folders from home, even if authorised

Bug #41955 reported by Didier Raboud
18
Affects Status Importance Assigned to Milestone
kdenetwork (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I activated "simple sharing", which (as description says), should allow all users to share folders of their home without superuser's password (= without sudo).

It does not work : When I right-click on folders (in my ~), going in "Sharing" tab, I always have "Configure folder sharing".

So a normal user cannot share his folders without sudo password.

Revision history for this message
Parker (parker-coates) wrote :

The folder properties tab says "You need to be authorised to share folders. [Configure File Sharing...]" despite having Simple Sharing configured. This applies to both normal folders and folders that have been set up as shares by root.

Changed in kdenetwork:
status: Unconfirmed → Confirmed
Revision history for this message
Thiago Alves (thiagoalves-sde) wrote :

I had the same problem but with a different approach:

* I right click on my Public folder (which is located on my ~) and choose Share..
* I checked the "Share this folder" checkbox
* Add some comments
* Check the "Guest access" checkbox
* Click on "Create Share" button

Then Nautilus shows me the following message:
'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.

I checked and my user has the sambashare group and this is the output of an "ls -l" on /var/lib/samba:
drwxrwx--t 2 root sambashare 4096 2008-04-12 18:51 usershares/

I hope this helps.

-Thiago

Revision history for this message
bro (matthijsbro) wrote :

I have exactly the same as Tonwk with Hardy RC in Ubuntu.

Revision history for this message
Thiago Alves (thiagoalves-sde) wrote :

I just update my Ubuntu and this bug seems to be fixed. Please anyone else to confirm?

Revision history for this message
bro (matthijsbro) wrote :

Same here. To my shame I must say, I'm not even sure I updated. Maybe I just rebooted. Though the need for reboots seems to be something for that other os. ;) everything works now.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote : Re: [Bug 41955] Re: Normal user cannot share folders from home, even if authorised

  status fixreleased

Changed in kdenetwork:
status: Confirmed → Fix Released
Revision history for this message
Greg (gurgory) wrote :

This error has returned in the latest release of Ubuntu - Hardy Heron.
I am trying to share folders on my ubuntu box and I get the exact same error as Townk
I am logging into the box remotely using Ubuntu's built-in remote desktop server from a windows box, this might be the reason the error is poping up

Revision history for this message
Tobias Bradtke (webwurst) wrote :

I got the same error on Hardy Heron with all updates.
The problem is that the user is added to the sambashare-group, but this takes first effect after log off/on..

So this should be tested and stated instead of the actual error message.

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.