chmod behaving inappropriate

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thallish
Forum Commoner
Posts: 60
Joined: Wed Mar 02, 2005 11:38 am
Location: Aalborg, Denmark

chmod behaving inappropriate

Post 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:
Post Reply