I developed a PHP script to add new files based on a template. I'm running it on localhost by now. I wondered what is the best chmod setting for the folder the script is in (and where the new files should go). 644 says permission denied, 622 works, 666 works (I can only choose 6, 4, 2 and 0 from the Info panel on my mac). By the way, I noticed the third number matters, how can I set it up to be the second or first?
EDIT
So how do you change chown on a Mac for localhost?