how do you CHMOD things on your own comp?.....
For LInux/Unix, please refer:
http://www.freebsd.org/cgi/man.cgi?chmod
via PHP, please refer :
http://www.php.net/manual/en/function.chmod.php