Hi I must be missing something here.
My scripts creates new files on server in directory with full rights (chmod 777)
When a file is created in this DIR it is created with "-rw-r--r--" rights on server. Later I want to edit/overwrite this file but I cant due to unsufficient privileges?!? It can be done if I manualy change file rigths on server with unix's chmod 777.
I also tried to use PHP function chmod($filename, 0777) to change file's permissions before overwriting/editing file, but chmod doesn't work eather... "Warning: chmod(): Operation not permitted in ..."
What could I do here? File is created usign fwrite function...
Thanks