nemo-share is installed by default but samba isn't -> usershares doesn't work

Bug #1608061 reported by Olav Seyfarth
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Released
Undecided
Unassigned

Bug Description

System: Mint 18 Cinnamon, initial release, installed to local disc, all available updates installed (apt full-update), Kernel 4.4.0-28.

Steps to reproduce:
1. Create folder "TEST" in home directory.
2. Right-click that folder, "Share".
3. Set anything in the "Share folder" dialog, "Create Share".
4. Confirm to adjust access rights of that folder.
5. "Share folder" dialog includes error messages starting with
   »net usershare« returned error 255: mkdir failed on directory /var/run/samba/msg.lock:

Expected:
Package samba seems to be required but is not installed by default. If so, then dependency in nemo-share to samba is missing. (There is a dependency to samba-common, though.)

Either nemo-share should also not be installed by default, or all components required should be installed. If nemo-share is dropped also, then installing it (through Nemo Addon dialog?) should also pull all required dependencies.

Sidenote:
On my system, installing samba also failed, I had to purge samba-common and (re)install samba AND all packages (such as mint-meta-cinnamon) that were removed by the purge. It seems the failure was caused by some post-install script.

Reference:
https://forums.linuxmint.com/viewtopic.php?f=42&t=224391

description: updated
Revision history for this message
altair4 (altair4mint) wrote :

I agree.

Ubuntu doesn’t install samba by default either but on first use of nautilus-share ( and I assume nemo-share is a fork of this ) it prompts the user if they want to install samba automatically.

Either nemo-share should be removed.
Samba should be installed by default.
Or nemo-share should do what nautilus-share does and prompt the user to install samba

Revision history for this message
Curtis (digitalcoyote) wrote :

nemo-share is essential for integrating Linux Mint into a not tech-savvy Windows network. Having it blow up until Samba is installed is not an acceptable situation.

Either:

1. Samba should be preinstalled. The package nemo-share does not work without it, but does not list it as a dependency. nemo-share (and therefore Samba) is essential for integrating Linux Mint into a Windows network.

2.The error message should be rewritten to include a warning that Samba may not be installed. I'm not in direct favor of asking the user if they want to install it (and then doing so).

Revision history for this message
Howe I. Shotweb (howeishotweb) wrote :

Fresh install of Mint 18.2 Cinnamon; this is STILL a problem. Need to install Samba manually to be able to create shares.

Revision history for this message
Michael Webster (miketwebster) wrote :
Revision history for this message
Michael Webster (miketwebster) wrote :
Changed in linuxmint:
status: New → Fix Released
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.