Commit 10f2422
committed
fix(windows): grant Users modify ACL on ProgramData log dir; correct comment
The /ru INTERACTIVE scheduled task fires under whatever user is logged on
at trigger time, typically a non-admin developer. The default ACLs on
C:\ProgramData\StepSecurity (inherited from C:\ProgramData) only grant
non-admin users Read & Execute on existing files, so cmd.exe's `>>`
redirect to agent.log would fail with Access Denied — and a failed
redirect aborts the whole task action, so the periodic scan never runs.
Grant BUILTIN\Users (SID 545) Modify rights on the log dir after creating
it, propagated to files and subfolders, so any logged-in user can append.
Also corrects the /ru INTERACTIVE comment: SID S-1-5-4 is in the
NT AUTHORITY domain, not BUILTIN (BUILTIN\* SIDs are S-1-5-32-*).1 parent bb6266e commit 10f2422
1 file changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
45 | 60 | | |
46 | 61 | | |
47 | 62 | | |
| |||
101 | 116 | | |
102 | 117 | | |
103 | 118 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
109 | 124 | | |
110 | 125 | | |
111 | 126 | | |
| |||
0 commit comments