Hello,
I'm using CentOS 8 and Apache. My server hosting a WordPress website under the "/var/www/wp" directory. By default, Apache using "apache:apache" user and group. I want to add a new account and give the account a full permission on "/var/www/wp" directory. Which way is good for my goal?
Is it OK if I add the new account to "Apache" group?
The current directory permission is as below:
Code:
$ ls -lZ /var/www/
total 268
-rw-r--r--. 1 root root system_u:object_r:usr_t:s0 266455 Oct 5 2012 apache_pb.svg.bak
drwxr-xr-x. 2 root root system_u:object_r:httpd_sys_script_exec_t:s0 6 Jun 9 00:46 cgi-bin
drwxr-xr-x. 2 root root system_u:object_r:httpd_sys_rw_content_t:s0 6 Jun 9 00:46 html
drwxrwxr-x. 7 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 4096 Sep 3 12:33 wp
Thank you.