Local Storage write files

Hello ! I’ve setup a nextcloud VM with a Windows share to user as a local external storage.
My problem is that I can’t read files but can’t write in the directory.
I used chown and chmod on my mount to give all rights to www-data but it still doesn’t want me to
write files. Any solution ?