linuxmint / nemo-extensions

A set of extensions for Nemo
412 stars 150 forks source link

Create samba shared folder fail #431

Open pikakolendo02 opened 2 years ago

pikakolendo02 commented 2 years ago

System: Arch Linux nemo 5.0.4-1 nemo-compare 5.0.0-1 nemo-fileroller 5.0.0-1 nemo-image-converter 5.0.0-1 nemo-megasync 4.0.2-3 nemo-python 5.0.0-1 nemo-seahorse 5.0.0-1 nemo-share 5.0.0-1 samba 4.15.0-1 smbclient 4.15.0-1

When create a shared folder, it fails with Nemo-Share-Message: 23:07:05.430: Called "net usershare add" but it failed: 'net usershare' returned error 255 Using net usershare in terminal manually or using dolphin goes well.

M-Mabrouk1 commented 2 years ago

I have the same issue, searched for help encountered that https://forum.manjaro.org/t/thunar-shares-plugin-net-usershare-error-255/93591/10 there is a solution of patching the sahres.c I forked the repo and I tried it, rebuilt the package. but no help.

davidhealey commented 2 years ago

Hello,

I had this same problem today on a fresh install of Debian Cinnamon. The solution in the thread linked to by @M-Mabrouk1 does work.

You need to edit shares.c, line 626. Change -l to --long. Then run make to compile followed by sudo make install.

wolfgang-58 commented 2 years ago

Hello, I wrote a solution to the problem here: https://www.linuxmintusers.de/index.php?topic=74078.msg955041#msg955041

greeting wolfgang