mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-04 12:02:13 +02:00
Checking the permission of files is faster than assuming they're broken and then running `sudo chmod`, so do just that. BUG=None TEST=run `cros_sdk --enter` with bad perms and see them fixed TEST=run `cros_sdk --enter` with correct perms and see sudo skipped TEST=the buildbot failure was due to other changes, not this one Change-Id: Ie69b4e766e2e3652944e4723d091ce589d07a4f6 Reviewed-on: http://gerrit.chromium.org/gerrit/8028 Commit-Ready: Mike Frysinger <vapier@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>