better chmod root folder
April 29, 2014 05:35PM
Hello,

I run nginx using user and group www-data:www-data.
FTP user and group is ftp:ftp

I want to change root folder from /var/www/domain.com to /home/user1/www (user1=user no have home directory)

For better security, what user and group for that new folder and what the better chmod so ftp can connect to that folder?

thank you,

Dave
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 341
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready