share directory for wget
by vinmansbrew from LinuxQuestions.org on (#59K4E)
rhel 8.1
This is likely a simple question, but when I search for it, I get a bunch of hits for samba.
I just need to set up a directory on a rhel 8 server, so that other rhel servers can access files such as tars. Say I want to do /var/www/pub/tars, what sort of permissions would I need for this? The wget command would be wget http://server.domain.com/pub/tars/"filename"
I set this up on my satellite server, and gave onwership to the directory to apache. When I try to wget, it connects, but gives a 404 error on the file.
So, I am thinking it's just permissions, but I am not sure. I am guessing it is likely a simple thing, but I haven't set 1 up before, and my searches all turn up samba stuff, and I doubt I need samba.


This is likely a simple question, but when I search for it, I get a bunch of hits for samba.
I just need to set up a directory on a rhel 8 server, so that other rhel servers can access files such as tars. Say I want to do /var/www/pub/tars, what sort of permissions would I need for this? The wget command would be wget http://server.domain.com/pub/tars/"filename"
I set this up on my satellite server, and gave onwership to the directory to apache. When I try to wget, it connects, but gives a 404 error on the file.
So, I am thinking it's just permissions, but I am not sure. I am guessing it is likely a simple thing, but I haven't set 1 up before, and my searches all turn up samba stuff, and I doubt I need samba.