Trouble Updating WordPress

Linux for blind general discussion blinux-list at redhat.com
Thu Jan 18 19:18:39 UTC 2018


Hello,

Le 18/01/2018 à 19:56, Linux for blind general discussion a écrit :
>> root at vps:~# stat /var/www/html/blog
>>    File: '/var/www/html/blog'
>>    Size: 4096            Blocks: 8          IO Block: 4096   directory
>> Device: fd01h/64769d    Inode: 475142      Links: 6
>> Access: (0755/drwxr-xr-x)  Uid: (   33/www-data)   Gid: (   33/www-data)
>> Access: 2018-01-18 01:58:45.341397646 -0800
>> Modify: 2017-12-16 15:55:35.489195850 -0800
>> Change: 2018-01-18 01:53:27.961408696 -0800

This line:
Access: (0755/drwxr-xr-x)  Uid: (   33/www-data)   Gid: (   33/www-data)
indicates that only the owner (www-data, uid 33) has write right.

So you should update as this owner.

Assuming that www-data has no shell you could type a command like:
su -c <update-command> www-data -s /bin/bash

If this account has an associated shell instead:
su -c <update-command> www-data

Didier




More information about the Blinux-list mailing list