As a point of further clarification, Apache is the soul user and manager
(assuming it is the only thing listening on port 80) of the http(s)
protocol requests being delivered to the server, As such it manages all
requests to other system resources on behalf of the preprocessor, in this
case WordPre
You can check the PS output:
ps -ef | grep -v grep | grep -Ei 'wordpress|apache|php'
It's likely running as the apache user or the www user.
Thanks,
Alexander
Sent from my Galaxy S10+
On Mon, Jun 24, 2019, 10:53 wrote:
>
>
>
> How would I know what user WordPress runs as? And how would I kn
How would I know what user WordPress runs as? And how would I know what
groups that user is in?
On 2019-06-20 20:34, James Mcphee wrote:
> does the wordpress service run as a user with membership in the www-data
> group? It should, but you never know.
> On Thu, Jun 20, 2019 at 8:18 PM wrote
googling your problem shows some solutions that might help. i'm not a
wordpress user myself, more of a general unix sysadmin.
https://stackoverflow.com/questions/3987108/upload-or-delete-wp-plugins-without-a-ftp-account
On Thu, Jun 20, 2019 at 8:34 PM James Mcphee wrote:
> does the wordpress s
does the wordpress service run as a user with membership in the www-data
group? It should, but you never know.
On Thu, Jun 20, 2019 at 8:18 PM wrote:
> Thanks!!
>
> Ownership is {my-user-name}:www-data
>
> Permissions is 775
>
> I added {my-user-name} to the www-data group : usermod -a -G www-d
Thanks!!
Ownership is {my-user-name}:www-data
Permissions is 775
I added {my-user-name} to the www-data group : usermod -a -G www-data
{my-user-name}
/etc/group has an entry www-data:x:33:{my-user-name} which I assume
verifies {my-user-name} was added to the www-data group?
I can SFTP and
Also, you're going to want to add your user to the www-data group. Then
check to see what perms a modified or added file has. If it's not
something you can write to, you'll have to set some suids or default facls.
On Thu, Jun 20, 2019 at 7:42 PM James Mcphee wrote:
> You need to give www-data
You need to give www-data write access for wordpress to be able to write to
files. chmod -R 775 www/
Whether a web daemon SHOULD have access to edit its own files is a whole
nother question.
On Thu, Jun 20, 2019 at 7:35 PM wrote:
>
> Hi I am running a local server running Ubunto 16.04LTS with a
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.