By tce on
I'm trying to set my the Private file system path to a folder above the site root, but I keep getting the message:
The directory /var/www/vhosts/mydomain/private exists but is not writable and could not be made writable
I think this is a server permission problem. Any pointers?
Comments
You need to change the file
You need to change the file permissions on that directory to 755.
Contact me to contract me for D7 -> D10/11 migrations.
Thanks for the reply.
Thanks for the reply. Changing the permission on that directory doesn't work. Using the path
../privatealso doesn't work, which is the same thing but thought I'd mention it. It's a new server, other than the file permission on the directory, do you know what could be the problem?I managed to sort it. I had
Got it working. I had to change the ownership of the directory.
chown -R apache:apache privateThanks for sharing this.
Thanks for sharing this information. This command fixed issue for me also.