How do i go about letting my user acces to webfiles thorugh ftp?

Issues related to configuring your network
Post Reply
Nakruf
Posts: 8
Joined: 2018/01/06 22:43:14

How do i go about letting my user acces to webfiles thorugh ftp?

Post by Nakruf » 2018/01/07 00:47:28

So what i have done so far is that i have made the home directory of my user to /var/www/html and whenever i login into the ftp server using filezilla and the ftp user. I have tried to change the permissions for my folder but it seems to not work. Am i supposed to give directory privlages to the user or some group?

hunter86_bg
Posts: 1135
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How do i go about letting my user acces to webfiles thorugh ftp?

Post by hunter86_bg » 2018/01/07 14:56:14

In order the ftp server and the web server to be able to access the same files, you need:
1) Permissions (ugo )
2) All files must have a SELinux context of 1 of the types:
A)public_content_ro_t
B)public_content_rw_t

Post Reply