The GNOME UI indicates that sharing the ~/Public directory is as easy as going to Settings => Sharing and enabling File Sharing but I just cannot seem to get it to work on local host or from another machine on my network.
I have tried using the hostname and the IP. E.g., “dav://” and “dav://” from nautilus but it always fails to connect.
I thought maybe this was a firewall issue so I enabled port 80 using firewall-cmd it simply doesn’t work.
From the above output you can see that the port is 46383 on my machine.
Also, if you list all the available firewall services with firewall-cmd --get-services you can see that the firewall does not have a service that can be enabled to allow it.
Someone at Fedora should be able to answer this question.
The port number is assigned dynamically. It is in a range that the firewall should already allow. I was able to successfully test a file transfer like this from another machine:
You have to determine the port number with ps -ef | grep httpd
The problem I ran into was that avahi on the server fails to resolve the servername.local sometimes. I often have trouble with avahi on Fedora. Sometimes I have to restart it to get it to work. This may be the problem you’re running into because avahi is involved in the gnome-user-share process.