WordPress on Ubuntu 18.04 file ownership and permissions issue

techlists at phpcoderusa.com techlists at phpcoderusa.com
Fri Jul 3 11:41:53 MST 2020


I have a development server setup in my office and am trying to edit
remote (from another computer.) 

Server is running stock Ubuntu 18.04 with a LAMP configuration. 

I have an install of WordPress at /var/www/vhost/test/public_html 

The user is bill. 

Editor is Visual Studio Code.  Connecting remote as user bill. 

If I set ownership to www-data:bill (chown -R www-data:bill
/var/www/vhost/) WordPress can write to a file and Visual Studio Code
can NOT. 

If I set ownership to bill:www-data (chown -R bill:www-data:
/var/www/vhost/) WordPress can NOT write to a file and Visual Studio
Code can. 

Any help much appreciated!! 

Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20200703/c0f5b633/attachment.html>


More information about the PLUG-discuss mailing list