code: func (l *localFileSystem) SetChmod(path string, mode int) error {
  	chmode := os.FileMode(mode & int(os.ModePerm))
  	if err := os.Chmod(path, chmode); err != nil {
  		return trace.Wrap(err)
  	}
  
  	return nil
  }
docs: // SetChmod sets file permissions