Samba File Sharing on Fedora KDE 36

I am trying to get file sharing to work on Fedora KDE 36. I have kdenetwork-filesharing and samba installed:

Package kdenetwork-filesharing-22.04.1-1.fc36.x86_64 is already installed.
Package samba-2:4.16.2-0.fc36.x86_64 is already installed.

I created “/home/$USER/Network”. If I right-click on that folder and go to PROPERTIES, I do have the SHARE tab. If I open the tab, I have a message that says:

You appear to not have sufficient permissions to manage Samba user shares.

How do I fix that so I can start sharing folders?

EDIT…

Thanks to u/a1b2c3d4e5_1 and u/zuus on the Fedora Reddit, I have it working now. Here is how in Terminal:

sudo su -
kate

Once Kate opens as root, open /etc/samba/smb.conf and use this:

Close Kate and save the smb.conf file. Type exit to log out of the root account. While still in Terminal:

sudo mkdir /var/lib/samba/usershares
sudo groupadd -r sambashare
sudo chown root:sambashare /var/lib/samba/usershares
sudo chmod 1770 /var/lib/samba/usershares
sudo gpasswd sambashare -a YOUR_USERNAME
sudo systemctl restart smb.service
sudo systemctl restart nmb.service

Reboot your computer.

I still hate having to do this to get Samba working. Can it not be made to work after installing samba and kdenetwork-filesharing?

2 Likes