outflanknl / RedELK

Red Team's SIEM - tool for Red Teams used for tracking and alarming about Blue Team activities as well as better usability in long term operations.
BSD 3-Clause "New" or "Revised" License
2.38k stars 370 forks source link

rsync command in getremotelogs.sh messes up permissions #190

Closed MarcOverIP closed 3 years ago

MarcOverIP commented 3 years ago

The rsync command in getremotelogs.sh now uses rsync -xav. This makes that it syns specific file permissions, which in some cases makes that the file permissions are not working in combination with the docker file permissions. Solution, use rsync -rav.

Upon change, please also verify if there needs to be done a chmod on the www logs dir.

MarcOverIP commented 3 years ago

Should be going from -axv to -rxv

MarcOverIP commented 3 years ago

PR #198

MarcOverIP commented 3 years ago

PR #198 is closed in favour of PR #200 which also fixes this issue.

MarcOverIP commented 3 years ago

Fixed in PR #200