Skip to content
Open
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
8 changes: 7 additions & 1 deletion site/profile/manifests/ccs/home.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
## rather than each having their own?
file_line { 'Change default home permissions':
path => '/etc/login.defs',
match => '^UMASK ',
match => '^UMASK\s',
line => 'UMASK 022',
}
file_line { 'Change default home permissions for EL8+':
path => '/etc/login.defs',
match => '^HOME_MODE\s',
line => 'HOME_MODE 0755',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would probably apply to home dirs created for IPA users as well. What is trying to be accomplished?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having it apply to IPA users is the wanted behaviour.
The intent is to make the home dirs of normal users world-readable by default, since this is a collaborative enterprise and people need to share work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to wait until Cristian returns from leave next week for further discussion.

append_on_no_match => false,
}
}