Page 1 of 1

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

Posted: 2018/01/07 00:47:28
by Nakruf
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?

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

Posted: 2018/01/07 14:56:14
by hunter86_bg
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