Answer the question
In order to leave comments, you need to log in
Centos7 + wordpress, what's wrong with permissions?
Good afternoon! I'm in big trouble. Moved wordpress site to new server and file upload error: "Can't create directory wp-content/uploads/2016/10. Check if parent directory is writable." . chmod -R 0777 /path-to-wp-content - не помогает
I've already gone through everything. I created the wp-content/uploads/2016/10 folder manually, put 0777 on it and the same owner and group as everywhere else. Tried again, error: "The uploaded file could not be moved to wp-content/uploads/2016/10".
I understand that the problem is most likely not inside wordpress (I climbed into options, tried to set the absolute path to the uploads folder, it didn’t help) but in the rights, but I can’t find where. I don't know where to dig anymore... Maybe SELinux or something else?
Answer the question
In order to leave comments, you need to log in
For running SELinux
And I would add the rights, and the user:
chown -R apache:apache "/path-to-wp-content"
find "/path-to-wp-content" -type f -exec chmod 644 {} \;
find "/path-to-wp-content" -type d -exec chmod 755 {} \;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question