chmod

chmod

[code]
func Chmod(filename string, mode os.FileMode) bool {
	return os.Chmod(filename, mode) == nil
}
[/code]