Don't forget the leading 0. (Why? Look at the [man]chmod[/man] page.) Since the function is a mimic of the Unix system function, "man chmod" will give a writeup on the function and how those numbers work. If you're using Windows, stick "man chmod" into Google instead.