In order to automate some of our processes, wanted a PHP page to trigger some file copy commands to a shared directory. Initially the network share was not writable by the web server.
I have made it writableby mounting it with file_mode=0777,dir_mode=0777
sudo mount -t cifs //Internal-IP/SHARENAME sharenamelocal -o uid=ourusername,username=username, password=xxxxx,file_mode=0777, dir_mode=0777
as suggested by ChatGPT :)
No comments:
Post a Comment