← Back to team overview

desktop-packages team mailing list archive

[Bug 995406] Re: User not added to group sambashare: "You do not have permission to create a usershare."

 

** Tags added: vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus-share in Ubuntu.
https://bugs.launchpad.net/bugs/995406

Title:
  User not added to group sambashare:  "You do not have permission to
  create a usershare."

Status in nautilus-share package in Ubuntu:
  Confirmed

Bug description:
  I tried to share a folder and was prompted to install samba, which I accepted. I did not install pam-smbpass as I don't need it. I was prompted to log out and in again, which I did. Now I get this when creating a share:
  ---
  '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.
  ---
  It looks like the user was not added to the group sambashare at all (which script is supposed to do this? Where is the log file?).

  Manually running
  # sudo usermod -a -G sambashare jakob
  fixes the issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: nautilus-share 0.7.3-1ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Sun May  6 11:37:08 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  SourcePackage: nautilus-share
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/995406/+subscriptions