Trouble Updating WordPress

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


Your user either has to be whatever your webserver user is or at least
has to be a member of that group.

On 1/18/18, Linux for blind general discussion <blinux-list at redhat.com> wrote:
> Hello, I am replying below in context.
>
> -Harmony
>
>
> On 1/18/2018 4:50 AM, Linux for blind general discussion wrote:
>> Hi Harmony,
>>
>> Le 18/01/2018 à 11:31, Linux for blind general discussion a écrit :
>>> sudo find . -type d -exec chmod 0755 {} +
>>>
>>> sudo find . -type f -exec chmod 0644 {} +
>>>
>>> I just tried installing a WordPress update, but after it unpacks it, it
>>> says, cannot create directory, installation failed. Thank you for
>>> creating with WordPress.
>> If it says cannot create directory, that means that either the directory
>> in which it tries to create another one is not writable (this shouldn't
>> be the case if it's 755) or and more probably that the script that
>> should create the new directory is run as an user not allowed to write
>> in the parent directory.
>>
>> There is also he possibilty that the parent directory has been made
>> immutable with chattr +i but this is unlikely. What is this scattr plus I?
>>
>> To find out please psot back the full output of:
>> stat <dir>
>> where <dir> is the path to the directory where the new one should be
>> created (in other words its would be parent directory)
>> 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
>>   Birth: -
>> r
>> Please tell us also as which user you are running the script that fails
>> to create it.
>> When I go to domain dot com slash blog slash wp-admin, I log in as my
>> WordPress user account, which is the account I initially created. I run
>> the update as the user that I'm logged in as.
>> Best,
>>
>> Didier
>> Slint distribution:
>> http://slint.fr
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list


-- 
Remember! Friends Help Friends Be Cybersafe
Jackie McBride
Helping Cybercrime Victims 1 Person at a Time
https://brighter-vision.com




More information about the Blinux-list mailing list