After enabling Domain Strict I got:
Warning: file_put_contents(temporary://filehoYrNG): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed funktiossa file_unmanaged_save_data() (line 1935 in file /var/www/html/koulutusmaailma/includes/file.inc).
Warning: file_put_contents(temporary://filevzliSY): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed funktiossa file_unmanaged_save_data() (line 1935 in file /var/www/html/koulutusmaailma/includes/file.inc).
The directory sites/default/files exists but is not writable and could not be made writable.
The directory sites/default/files/private exists but is not writable and could not be made writable.
The directory sites/default/files/tmp exists but is not writable and could not be made writable.
I can change the temporary directory to /tmp, but the two other errors persist - and I can not find any documentation that would advice how to set them in order to get rid of these warnings. After reading about Domain module's various aspects quite many hours I still don't have a clue how the filesystem works with it I guess. Can anybody advice me (filing this as documentation issue as it probably isn't bug)?
Comments
Comment #1
mmakela commentedI was too quick filing this: turns out that it was coincidence that I enabled Domain Strict, my group permissions were wrong for the directories. Should have known better, but new to CentOS..