2

I want to be able to share a folder in Dolphin. Right click on a folder, then go to Share tab. Unfortunately I see a message there: "You appear to not have sufficient permissions to manage Samba user shares":

enter image description here

I am on Arch Linux, if that matters. I have installed samba package and I am able to manually configure a share. But I would like to be able to do it fast from gui, just like on Windows. Also, I have seen that in other distros using KDE, this Share tab actually works.

How to fix that problem?

1 Answer 1

1

You should follow https://wiki.archlinux.org/title/Samba#Enable_Usershares. It explains the steps. But here they are. Run:

sudo mkdir /var/lib/samba/usershares
sudo groupadd -r sambashare
sudo chown root:sambashare /var/lib/samba/usershares
chmod 1770 /var/lib/samba/usershares

In /etc/samba/smb.conf add:

[global]
  usershare path = /var/lib/samba/usershares
  usershare max shares = 100
  usershare allow guests = yes
  usershare owner only = yes

Run:

sudo gpasswd sambashare -a your_username
sudo systemctl restart smb.service
sudo systemctl restart nmb.service

Log out and log back in.

Now in Share tab you can configure permissions level for your new share.

enter image description here

Also you can press "Show Samba status monitor" monitor and see the list of all your user shares and reconfigure them if required:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .