-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid recursive chmod if all directories already have 770 (#260)
For admins, avoid performing recursive chmod on /var/opt/nuodb and /var/log/nuodb if all files and subdirectories one level deep already have mode 770. The "one level deep" check is to avoid skipping the directories entirely if only the directories themselves have mode 770, which is what the init-container used to do in previous versions of the NuoDB Helm Charts. For SMs, descend two levels to ensure that all files directly under /var/opt/nuodb/archive, /var/opt/nuodb/journal, and /var/opt/nuodb/backup (for HCSMs) have mode 770.
- Loading branch information
1 parent
b91d12d
commit c04f67f
Showing
3 changed files
with
9 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters