diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-03-11 12:20:38 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-03-11 12:20:38 -0800 |
commit | dcce4654666e5965f6bc1afce131d700ab9abdc1 (patch) | |
tree | 6df55dd6d632d25509c94c543817d0209b07e5e5 /omnibus/package-scripts/chef/postinst | |
parent | 0f4f56a0d59a0122ec7a36f03193b51f21b1f341 (diff) | |
download | chef-dcce4654666e5965f6bc1afce131d700ab9abdc1.tar.gz |
Stop chowning the chef install dir in the postinstconfig_perms
We entirely remove /opt/chef now so there should be no need to do this IO intensive operation.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'omnibus/package-scripts/chef/postinst')
-rwxr-xr-x | omnibus/package-scripts/chef/postinst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/omnibus/package-scripts/chef/postinst b/omnibus/package-scripts/chef/postinst index 0c2d10dd6d..fa41f83ab4 100755 --- a/omnibus/package-scripts/chef/postinst +++ b/omnibus/package-scripts/chef/postinst @@ -93,11 +93,6 @@ ln -sf $INSTALLER_DIR/bin/ohai $PREFIX/bin || error_exit "Cannot link ohai to $P # must appear as the last real action in the script ln -sf $INSTALLER_DIR/bin/chef-client $PREFIX/bin || error_exit "Cannot link chef-client to $PREFIX/bin" -# Ensure all files/directories in $INSTALLER_DIR are owned by root. This -# has been fixed on new installs but upgrades from old installs need to -# be manually fixed. -chown -Rh 0:0 $INSTALLER_DIR - # make the base structure for chef to run mkdir -p /etc/chef/client.d/ mkdir -p /etc/chef/accepted_licenses |