From 4ddfa192ba32b2bb937f9a7b3328a604eb89d7f6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 21 Jul 2021 12:16:22 -0400 Subject: [PATCH] Remove sticky bit from profile directory --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 9dc4a971..0ccc6a20 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -173,7 +173,7 @@ def capture_remote(opts, args): with open(os.path.join(outdir, 'profile.yaml'), 'w') as profileout: profileout.write('label: {}\n'.format(label)) profileout.write('kernelargs: quiet installtodisk # remove installtodisk to boot stateless') - subprocess.check_call(['chmod', 'o+r,go-w', '-R', outdir]) + subprocess.check_call(['chmod', 'o+r,go-w,a-t', '-R', outdir]) subprocess.check_call(['chown', '-R', 'confluent', outdir]) subprocess.check_call(['osdeploy', 'updateboot', profname])