Install sites with EE for different Linux users


#1

Hi there,

Referring to this post: Easy Engine and Shared Hosting (March 2014) stating that there are plans for EE to support installing / creating sites under separate Linux users.

Is this still on the road map / planned? Or, is this somehow possible with EE currently? (it doesn’t appear to be the case, I understand that all sites will be under user www-data)

Thanks for your time!


#2

Currently, everything runs under www-data.


#3

Perhaps this might be of some help for you right now:

http://blog.netgusto.com/solving-web-file-permissions-problem-once-and-for-all/


#4

Thanks very much for your responses. Would still be nice to know if this is planned for EE.


#5

The comment from @portofacil is correct. The article actually explains some of the reasons why setting up folders under specific users and groups generally doesn’t work and why using fuse is better.

I’m pretty sure this is how MediaTemple actually sets up their GS system.


#6

www-data owner

chown -R www-data:www-data /var/www/

setting all directories with 755 permission and all files with 644 permission

sudo find /var/www -type d -exec chmod 755 {} \; sudo find /var/www -type f -exec chmod 644 {} \;

Setup complete, but site can't start
#7