Skip to content

Commit 01257e6

Browse files
author
Abhishek Shukla
committed
1 parent 132ae49 commit 01257e6

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
umask 027

files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -679,4 +679,15 @@
679679
block: |
680680
. /etc/bash_completion.d/systemctl
681681
. /etc/bash_completion.d/zfs
682-
PATH=$PATH:/opt/delphix/server/bin
682+
PATH=$PATH:/opt/delphix/server/bin
683+
684+
#
685+
# CIS: Set default umask (DLPX-87205)
686+
# We need to set default umask as 027 in the /etc/bash.bashrc file,
687+
# so that the same can be applied for all the users on the engine.
688+
#
689+
- blockinfile:
690+
path: /etc/bash.bashrc
691+
block: |
692+
# Set default umask value.
693+
umask 027

0 commit comments

Comments
 (0)