Cannot share folder (btfrs)

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
Kurt_Aust
Level 1
Level 1
Posts: 16
Joined: Tue Nov 20, 2007 3:30 am

Cannot share folder (btfrs)

Post by Kurt_Aust » Thu Jul 07, 2016 1:46 am

On my old laptop I've installed Mint 18 with a 64GB / (root) partition (btfrs), an 8GB swap partition and the remaining 170GB as the /home partition (btfrs).

If I try to share a folder I get this message
'net usershare' returned error 255: 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.
If I manually create /var/lib/samba/usershares and try again (as either a standard user or as root) I get
'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running.

Laurent85
Level 16
Level 16
Posts: 6148
Joined: Tue May 26, 2015 10:11 am

Re: Cannot share folder (btfrs)

Post by Laurent85 » Thu Jul 07, 2016 2:08 am

Mint 18 removed Samba from the default install.

Open a terminal to install Samba:

Code: Select all

apt install samba --install-recommends
Should work now.
Image

Kurt_Aust
Level 1
Level 1
Posts: 16
Joined: Tue Nov 20, 2007 3:30 am

Re: Cannot share folder (btfrs)

Post by Kurt_Aust » Thu Jul 07, 2016 2:36 am

Thanks, that did indeed work, still it seems a bit glitchy that Nemo throws such a cryptic warning rather than asking to install Samba.

Laurent85
Level 16
Level 16
Posts: 6148
Joined: Tue May 26, 2015 10:11 am

Re: Cannot share folder (btfrs)

Post by Laurent85 » Thu Jul 07, 2016 3:12 am

I agree Mint 18 should fix this.
Image

Yfrwlf
Level 3
Level 3
Posts: 129
Joined: Sat Jun 08, 2013 7:46 pm

Re: Cannot share folder (btfrs)

Post by Yfrwlf » Sun Jul 10, 2016 5:01 pm

Yes, we need to have a similar "install sharing support?" dialogue that Ubuntu had way back when when a user goes to try to share a folder, or for samba to be installed by default. We're using DVD-sized installation ISOs now anyway, opensuse uses all 4GBs, and Mint only is using 1.7GBs or so. Plenty of room for more. I get removing it to speed up booting, although the startup could easily be delayed for a bit after boot.

MintSlow2Boot
Level 1
Level 1
Posts: 22
Joined: Tue Dec 27, 2016 2:08 pm

Re: Cannot share folder (btfrs)

Post by MintSlow2Boot » Sat Jan 07, 2017 11:28 am

Laurent85 wrote:I agree Mint 18 should fix this.
Hmmm, not yet then... All up to date this morning and I got the same useless error. :roll:

altair4
Level 19
Level 19
Posts: 9759
Joined: Tue Feb 03, 2009 10:27 am

Re: Cannot share folder (btfrs)

Post by altair4 » Sat Jan 07, 2017 1:01 pm

It's the price you pay for forking things.

Ubuntu doesn't install the samba server packages either but when you try to create a share in Nautilus it will automatically prompt the user asking him if he wants to install it. It does this by design in the nautilus-share package.

Nemo forked nautilus-share to create nemo-share but left that part out because Mint has always installed samba by default until version 18.

There’s actually a bug report about this: https://bugs.launchpad.net/linuxmint/+bug/1608061

Turns out that isn't the right place to submit bug reports so it's pretty much taking up space with a lot of useless 0's and 1's. Who knew....
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Post Reply

Return to “Other networking topics”