Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions files/common/etc/profile.d/set-umask-for-all-users.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

umask 027
Original file line number Diff line number Diff line change
Expand Up @@ -679,4 +679,15 @@
block: |
. /etc/bash_completion.d/systemctl
. /etc/bash_completion.d/zfs
PATH=$PATH:/opt/delphix/server/bin
PATH=$PATH:/opt/delphix/server/bin

#
# CIS: Set default umask (DLPX-87205)
# 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