Sharing Folder - 'net usershare' returned error 255 on linux mint 21 mate

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post please read how to get help
Post Reply
User avatar
boysha
Level 3
Level 3
Posts: 133
Joined: Tue Jul 03, 2007 1:03 pm
Location: Victoria, BC, Canada
Contact:

Sharing Folder - 'net usershare' returned error 255 on linux mint 21 mate

Post by boysha »

I wanted to share my Video folder and like always I right-clicked - Sharing Options - Share and got this error:
'net usershare' returned error 255
I am using Linux Mint 21 Mate
Samba is installed. I have a password set for Samba. I am out of ideas...
Can anybody help?
Last edited by boysha on Sun Aug 07, 2022 6:08 pm, edited 2 times in total.
altair4
Level 20
Level 20
Posts: 10939
Joined: Tue Feb 03, 2009 10:27 am

Re: Sharing Folder - 'net usershare' returned error 255 on linux mint 21 mate

Post by altair4 »

It's a bug: https://github.com/mate-desktop/caja-ex ... issues/111

I would suggest creating samba shares using samba directly. Please see PART 2 of this HowTo:
Share Folders using Samba in Home Network with Mint 21
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
User avatar
boysha
Level 3
Level 3
Posts: 133
Joined: Tue Jul 03, 2007 1:03 pm
Location: Victoria, BC, Canada
Contact:

Re: Sharing Folder - 'net usershare' returned error 255 on linux mint 21 mate

Post by boysha »

Thank you!
I actually found another solution before I saw your reply.
Maybe worth for someone.
I installed nemo-share and that worked perfectly.
Thank you for sending me the tutorial to setup sharing directly in samba.
Cheers!
User avatar
boysha
Level 3
Level 3
Posts: 133
Joined: Tue Jul 03, 2007 1:03 pm
Location: Victoria, BC, Canada
Contact:

Re: Sharing Folder - 'net usershare' returned error 255 on linux mint 21 mate

Post by boysha »

Too early was I marking it SOLVED - because it wasn't.
Yes, I can get no error when making a Folder shared using Nemo-share, but in reality, it didn't make the folder shareable...
There is still a bug, a minor syntax error fixed on Arch, but nothing from Ubuntu/ Mint crowd about a fix.
If anyone has any news, by all means, shout!
Cheers!
altair4
Level 20
Level 20
Posts: 10939
Joined: Tue Feb 03, 2009 10:27 am

Re: Sharing Folder - 'net usershare' returned error 255 on linux mint 21 mate

Post by altair4 »

Are you trying to share a folder in your home directory?

If you are then it's the same HowTo but a different section: viewtopic.php?p=2201743#p2201743

If this does not apply to you please post the output of the following commands:

Code: Select all

testparm -s

Code: Select all

net usershare info --long
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Post Reply

Return to “Networking”