0
votes

I have installed a Drupal site, after several custom changes I flushed all caches, but this action cause that sites/default/files folder do not have permissions and drupal canot change nothing under this folder, I have checked my CentOS permissions and all it's fine, 775 for all folders for user and group apache:apache,

enter image description here

775 for sites/default/files, I have tried 777 too and not work.!

enter image description here

But Drupal show me this message

enter image description here

What it's bad in my permission? thanks for your help

2

2 Answers

2
votes

If SELinux is active (getenforce), restore the file context (restorecon -Fvr /var/www/html).

0
votes

It's hard to tell with so little data.

  1. Why is drupal trying to override an existing image?
    • Answer: Drupal isn't trying to override an existing image but create a new (the path does not exist)
  2. What is the permissions on the file in question?
    • Answer: same as 1
  3. Is the file in the public, private or temp directory?
    • Answer: public
  4. Did you try to re-save the public/private/tmp directory locations (in drupal)?
    • Answer: Yes, didn't help