From cb985e30b7f8c2aae808425e3846025c8f8d576f Mon Sep 17 00:00:00 2001 From: Colin Kingen Date: Wed, 26 Jul 2023 13:19:21 -0700 Subject: [PATCH] DLPX-87136 Revert "DLPX-86533 CIS: default umask" PR URL: https://www.github.com/delphix/delphix-platform/pull/457 --- files/common/etc/profile.d/set-umask-for-all-users.sh | 3 --- .../roles/delphix-platform/tasks/main.yml | 11 ----------- 2 files changed, 14 deletions(-) delete mode 100644 files/common/etc/profile.d/set-umask-for-all-users.sh diff --git a/files/common/etc/profile.d/set-umask-for-all-users.sh b/files/common/etc/profile.d/set-umask-for-all-users.sh deleted file mode 100644 index 4b6031ac..00000000 --- a/files/common/etc/profile.d/set-umask-for-all-users.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -umask 027 diff --git a/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml b/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml index 581665d2..2c45db29 100644 --- a/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml +++ b/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml @@ -681,14 +681,3 @@ when: - variant == "internal-buildserver" - not ansible_is_chroot - -# -# CIS: Set default umask (DLPX-86533) -# We need to set default umask as 027 in the /etc/bash.bashrc file, -# so that the same can be applied for all the users on the engine. -# -- blockinfile: - path: /etc/bash.bashrc - block: | - # Set default umask value. - umask 027