Thunar Shares Plugin 'net usershare' error 255

I’ve invested a lot of time. The problem exists in Manjaro since an update in October 2021. Apparently this has to do with net usershare parameters -l and --long.
Read here: Samba Nautilus-Share funktioniert nicht mehr

This bug exists with all Samba Share plugins. In Manjaro XFCE (Thunar), Gnome (Nautilus) Cinnamon (Nemo). But it works in Manjaro KDE Plasma and Linux Mint 20.3 (Beta Version) Cinnamon (Nemo) without problems.

Until the Manjaro file manager plugin is patched at some point, I have the following simple solution:

Goal: create folder samba and allow access for everyone in the network via the file manager.

1. Open the terminal
2. mkdir ~/samba
3. net usershare add --long samba ~/samba "comment" "Everyone:F" guest_ok=y

The following is displayed in the terminal:
[samba]
path=/home/hello/samba
comment=comment
usershare_acl=Everyone:F,
guest_ok=y

The “samba” folder is now visible in the SMB network and can be accessed by everyone.

2 Likes