[PSA][SOLVED] How to create samba share on Fedora KDE 43 with Dolphin?

This is more of a PSA rather than a question, so I added to the title PSA and SOLVED.

I really did try to create a samba share using dolphin but I never got it to work. Basically I did end up creating the samba user, and set up the shared folder, I had to enable and start the smb.service manually but in the end the samba share was simply never created.

Then I finally created a simple shared folder using these totally-trusty-copy-pastable commands:

  • smb service needs to be running systemctl enable –now smb.service
  • Edit /etc/samba/smb.conf to add at the end a share:
    • [sharedfolder]
              path = /home/<your-user>/sharedfolder
              read only = no
      
  • Execute this little command to set SELinux context: sudo chcon -t samba_share_t /home/<your-user-name>/sharedfolder
  • (Probably you’ll want this): Add firewall rule to enable samba sudo firewall-cmd --add-service samba
  • One can test this with smbclient \\\\localhost\\sharedfolder -U <your-samba-user>

So, did anyone successfully created a shared folder using Dolphin without copy pasting stuff and configuring config files?

This is funny: I do have full control using my samba user, and yet, when I try to access this folder remotelly it says I don’t have access

Why I can’t do this with simple gui, clicking and guidance from the UI? Only that will solve the problem of copy pasting random commands and consulting constantly with an LLM, the GUI would basically be the guidance.

Dolphin almost has it, it just needs to work.

Finally got it working using this guide:

It was “just a bunch of copy pasting” and “a bunch of editing config file”

Probably I missed the sudo restorecon -R ~/share command.

But the point of this post is to say that I would prefer this to be “just a bunch of clicking”, dolphin should be able to automate almost all of this. That way I don’t have to go on the internet and copy-paste totally-trusty-commands.

That sounds like a feature request that need to go the KDE Dolphin developers. You can find them over at https://discuss.kde.org/