Project

General

Profile

Bug #19460

Set umask to default 0022

Added by Lukas Zapletal over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Some customers tightens umask to 0002 or something which leads to incorrect permissions during installation of Katello.

I thought there might be option in kafo or foreman-installer to setup umask to default 0022 for installation.

https://access.redhat.com/solutions/1123803#comment-931703

History

#1 Updated by Lukas Zapletal over 2 years ago

  • Project changed from Kafo to Katello
  • Category set to Installer

I think this should be pre-installation hook of katello/satellite scenario. Maybe even foreman, it is safe to do.

#2 Updated by Marek Hulán over 2 years ago

I thinks this was supposed to be fixed by #8378 - see https://github.com/Katello/katello-installer/pull/139/files, can you double check it's still reproducible with recent version?

#3 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

I'd actually prefer if every resource in puppet has the correct permissions and doesn't rely on umasks. Exec commands should have explicit umasks. That makes them usable outside of the installer as well.

#4 Updated by Lukas Zapletal over 2 years ago

Sure, if someone going to fix this, note these were some certificates which were generated using puppet exec thing.

#5 Updated by Justin Sherrill over 2 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF