I am trying to get chmod to set permissions like chmod 0777, but when I check the actual permissions it is 0700.
Can anybody tell me why that is happening?
And the same thing happens when I make a directory with mkdir(dirname, 0777)
I can easily make a directory and copy files from hither to dither from within the script but accessing them
causes trouble.