Still affected in 16.04.6 upgraded from Trusty : the log in this machine
shows

Mar 28 17:41:43 nux gnome-session[25837]: Nautilus-Share-Message: Called "net 
usershare info" but it failed: « net usershare » returned error 255 : mkdir 
failed on directory /var/run/samba/msg.lock: Permission denied
Mar 28 17:41:43 nux gnome-session[25837]: net usershare: cannot open usershare 
directory /var/lib/samba/usershares. Error None file or directory of this kind
Mar 28 17:41:43 nux gnome-session[25837]: Please ask your system administrator 
to enable user sharing.

even after I created /var/lib/samba/usershares and touch
/var/run/samba/msg.lock (*):

~ ls -l /var/lib/samba/
total 8
drwxr-xr-x 3 root root 4096 march   4  2017 private
drwxr-xr-x 2 root root 4096 march  28 17:42 usershares

# members sambashare
me

$ ls -l /var/run/samba/msg.lock
-rw-r--r-- 1 root root 0 mars  28 18:55 /var/run/samba/msg.lock

(*)Maybe I should have mkdir msg.lock ?
Yes I should:
$ net usershare info --long
directory /var/run/samba/msg.lock isn't a directory

# rm /var/run/samba/msg.lock
# mkdir /var/run/samba/msg.lock

Wait and see

Here only nautilus-share is installed (I was prompted to install it by
Files one day when I wanted to share a folder - Samba not installed :
not prompted=no need)

-- 
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/211966

Title:
  nautilus-share report a warning about missing
  /var/lib/samba/usershares

Status in Apache2 Web Server:
  Invalid
Status in OEM Priority Project:
  New
Status in nautilus-share package in Ubuntu:
  Fix Released
Status in samba package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: nautilus-share

  if you start nautilus from console you can see this error message:

  Nautilus-Share-Message: Called "net usershare info" but it failed: 'net 
usershare' returned error 255: net usershare: cannot open usershare directory 
/var/lib/samba/usershares. Error Aucun fichier ou dossier de ce type
  Please ask your system administrator to enable user sharing.

  I assume it needs to create /var/lib/samba/usershares in the package

To manage notifications about this bug go to:
https://bugs.launchpad.net/apache2/+bug/211966/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to