You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: [sc-118372] /var/lib/embedded-cluster is not exec by other non-root user (#1729)
* apply chmod after mkdir for directories in --data-dir
* address code reviews
* add more dir
* update os.MkdirAll in all places
* potentially fix airgap upgrade job
* attempt setting umask 0077 in CI
* use bash to run umask
* remove e2e test in favor of future dryrun test
* set restrictive umask before running a dryrun test
* f
* test that this does not pass without new code
* properly set umask
* return to using new code
* octal prints, no new code
* reenable new code
* check all folders even after failure
* update test to match behavior
* set umask in root command
* return to os.MkdirAll
* printf debugging
* test without setting umask to 077 first
* check if the setting actually stuck
* call umask in each prerun function
* remove debug logs
* check that the kubectl-preflight binary has appropriate permissions
* set umask in main function, improve comments
---------
Co-authored-by: Andrew Lavery <[email protected]>
0 commit comments