How to change the permission of a file that was created by using
function in php to 0644?
I created some temporary file in
and rename that file and changed the location of the file using
The renamed file has also permission
, I need to change that permission to
for download which was after loading of the webpage.
I tried changing that files permission to
manually, but once the page was refreshed the permission changed to