summaryrefslogtreecommitdiff
path: root/omnibus/package-scripts/chef/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'omnibus/package-scripts/chef/postinst')
-rwxr-xr-xomnibus/package-scripts/chef/postinst5
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