WordPress file ownership and Permissions

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
+ (text/html)
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: PLUG-discuss
Fecha:  
A: Main PLUG discussion list
Asunto: WordPress file ownership and Permissions
Hi I am running a local server running Ubunto 16.04LTS with a stock LAMP
install that runs stock Apache.

I have an install of WordPress under
/var/www/vhost/{vhost-name}/public_html

Here is my problem.

I can either FTP or WordPress can edit / remove file. I cannot do both.
Not sure why.

To allow WordPress to modify files I must: (I cannot SFTP)

     * chown -R {my-user-name}:www-data www/
     * chmod -R 755 www/


To allow me to SFTP I must change the file ownership: (WordPress cannot
modify files)

     * chown -R {my-user-name}:www-data www/


I would like to be able to FTP and allow WordPress to modify files.

Any help much appreciated.

Thanks!!---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss