Project

General

Profile

Actions

Bug #19460

closed

Set umask to default 0022

Added by Lukas Zapletal over 7 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
No
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

Actions #1

Updated by Lukas Zapletal over 7 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.

Actions #2

Updated by Marek Hulán over 7 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?

Actions #3

Updated by Ewoud Kohl van Wijngaarden over 7 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.

Actions #4

Updated by Lukas Zapletal over 7 years ago

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

Actions #5

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 114
Actions #6

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Status changed from New to Rejected
  • Triaged set to No
Actions

Also available in: Atom PDF