Page 1 of 1
Permission writing without chmod()
Posted: Sat Jan 01, 2005 3:40 pm
by Joe
Is there anything else I could do to a dir/file to change the permissions apart from using chmod?. I noticed a few problems with different server setups and I need to repair it immediately.
Regards
Joe

Posted: Sat Jan 01, 2005 4:40 pm
by redmonkey
chmod, chown and chgrp are generally all you require to set permissions for directories/files.
Is this files/directories that your scripts are creating? you may want to have a look at umask().
Failing that you could also consider performing many of your file functions via FTP functions.