Page 1 of 1

chmod behaving inappropriate

Posted: Tue Sep 05, 2006 1:52 pm
by thallish
hi

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. :cry: