Permissions problem

thefluiddruid

New member
Joined
Nov 30, 2014
Messages
3
I'm trying to install WordPress but DA isn't setting the permissions so that Apache can change the files.
How do I set DA so that Apache will be able to execute the files for users?
Right now DA assigns the username for both user and group instead of assigning Apache.:confused:
 
It is definitly correct.

Are you sure you're installing WP in the right folder (public_html for http and private_html for https)?

Files have to be user:user for security reason.

If you dont, i would suggest you to use mod_ruid2

Regards
 
SeLLeRoNe,

Yes, it is in the public_html folder.
How should I configure it so that the files will run under user ownership?
 
If you have mod_ruid2 running you can do that with this command if necessary:
Code:
cd /usr/local/directadmin/data/users && for i in `ls`; do { chown -R $i:$i /home/$i/domains/*/public_html;}; done;
 
Permissions problem still

Hi Richard,

I apologize for taking so long to get back to you. Been having a few health problems.

Anyway, I installed mod_ruid2 and ran the code you gave me (with the directory structure for my server of course) and received no errors.
However when I go to update Wordpress it still won't update because of the permissions...

Any Ideas?

Mike
 
Back
Top