Lines Matching refs:Chmod
197 // Chmod changes the mode of the file to mode.
199 func (f *File) Chmod(mode FileMode) error {
207 return &PathError{"chmod", f.name, e}
215 return &PathError{"chmod", f.name, err}
218 return &PathError{"chmod", f.name, err}
368 // Chmod changes the mode of the named file to mode.
371 func Chmod(name string, mode FileMode) error {
376 return &PathError{"chmod", name, e}
384 return &PathError{"chmod", name, err}
387 return &PathError{"chmod", name, err}