Skip to main content

Thread: Linux Permissions for Wordpress (LAMP)


i'm trying configure linux server secure permissions in /var/www. i've read shouldn't add user account www-data group various reasons. instead, it's best (i'm told) create separate developer's group.

here's came with:

code:
group add developers

code:
usermod -a -g developers my_account

code:
chown -r root:developers /var/www

code:
find /var/www/ -type d -exec chmod 2775 {} \;

code:
find /var/www/ -type f -exec chmod 664 {} \;


finally, i'd set default umask to:

code:
umask 002


questions:
(a). reasonably secure? (b). of redundant? (c). setup require change of default umask? if so, what?



Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Linux Permissions for Wordpress (LAMP)


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?