2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-25 09:14:05 +00:00
Files
xcat-core/xCAT
Vinícius Ferrão b9f4cff645 fix(packaging): install the xcat logrotate config with sane permissions
The etc.tar.gz payload is unpacked into the buildroot and the resulting
etc/logrotate.d/xcat inherits whatever mode the build umask produced.
logrotate silently skips (and warns about) config files that are group- or
world-writable, so a loose umask can disable xCAT log rotation entirely.

chmod the file to 644 after extraction so the shipped config is always
honored.

Recovered from the unmerged lenovobuild branch (original cb8d671d).

Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com>
2026-07-21 18:34:23 -03:00
..
…