Re: Trouble Updating WordPress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Again, please message in context.

-Harmony


On 1/18/2018 11:18 AM, Linux for blind general discussion wrote:
> Hello,
>
> Le 18/01/2018 à 19:56, Linux for blind general discussion a écrit :
>>> root@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
> You put the update-command in angle brackets. Does that mean that I should include those angle brackets, or are you wanting me to substitute what is  inside the angle brackets with something else?
> If this account has an associated shell instead:
> su -c <update-command> www-data
>
> Didier
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]