I have connected my server to an smb share, where all web files are stored. I also have lighttpd as webserver. The network drive is mounted and can be read by lighttpd. But when I try to write a file with file_put_content, an empty file will be created. And there is also a warning in the error.log: "permission denied"
Where could be my mistake?