How do i go about letting my user acces to webfiles thorugh ftp?
How do i go about letting my user acces to webfiles thorugh ftp?
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?
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: How do i go about letting my user acces to webfiles thorugh ftp?
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
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