I am using Amazon S3 volume to store the node's attachment. I keep having the following message:
file_put_contents(public:///.htaccess): failed to open stream: "DrupalPublicStreamWrapper::stream_open" call failed file.inc:494 [warning] WD security: Security warning: Couldn't write .htaccess file. Please create a .htaccess file in your public:// directory which contains the following lines: # Turn off all options we don't need. [error] Options None Options +FollowSymLinks.....
I tried chmod 777 on private (sites/default/files/private) public (sites/default/files) folders without any success.
Is it because amazon S3 and AWS/SDK are installed. It works weel anyway : my files are created on S3 volumes. But the message is annoying.
Any ideas ?