When I run Nautilus from command line, it starts successfully but this appears in the terminal:
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
net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
Should I really ask my system administrator to enable user sharing?
My administrator is myself, and I don't use Samba.
Is this message the sign of bigger problems with my Ubuntu?
If not, how can I prevent it from appearing? (Nautilus is launched by a program I am beta-testing but can't modify, and the present problem makes this program's errors less visible in the terminal)
sudo apt install samba
did work. – Manohar Reddy Poreddy Mar 21 '19 at 01:59sudo apt install samba
sudo mkdir -p /var/lib/samba/usershares/
samba
(dpkg -l samba
showed it was uninstalled) and without anychmod
. So before installing Samba (or executing thechmod
suggested by Grégory's answer), make sure to check first ;) – Izzy Mar 06 '21 at 18:54