Fixes T1267.
Details
Details
- Reviewers
amj dereckson - Maniphest Tasks
- T1267: Set userlist.db chmod to avoid it's world readable
- Commits
- rOPS715b85e5d950: Ensure userlist isn't world-readable
salt-call state.apply roles/shellserver/odderon/config
Diff Detail
Diff Detail
- Repository
- rOPS Nasqueron Operations
- Lint
Lint Passed - Unit
No Test Coverage - Branch
- arcpatch-D1069
- Build Status
Buildable 1773 Build 2021: arc lint + arc unit
Event Timeline
Comment Actions
$ salt-call state.apply roles/shellserver/odderon/config The function "chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db" in state "odderon_fix_permissions_and_ownership" in SLS "roles/shellserver/odderon/config" has whitespace, a function with whitespace is not supported, perhaps this is an argument that is missing a ":"
Comment Actions
Salt master
$ salt eglide state.apply roles/shellserver/odderon/config eglide: ---------- ID: odderon_fix_permissions_and_ownership Function: cmd.run Name: chmod 640 /opt/odderon/var/darkbot/userlist.db Result: True Comment: Command "chmod 640 /opt/odderon/var/darkbot/userlist.db" run Started: 15:22:18.005520 Duration: 47.53 ms Changes: ---------- pid: 32647 retcode: 0 stderr: stdout: ---------- ID: odderon_fix_permissions_and_ownership Function: cmd.run Name: chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db Result: True Comment: Command "chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db" run Started: 15:22:18.054366 Duration: 40.816 ms Changes: ---------- pid: 32649 retcode: 0 stderr: stdout: Summary for eglide ------------ Succeeded: 2 (changed=2) Failed: 0 ------------ Total states run: 2 Total run time: 88.346 ms