mirror of
https://github.com/goharbor/harbor
synced 2025-04-25 19:22:35 +00:00

Logrotate is run with sudo as the syslog user by cron.hourly The current working directory is `/root` which is inaccessible to the syslog user so the logrotate command fails. Currently the following stderr is being thrown away by the cron script: ``` error: cannot open current directory: Permission denied ``` Fixes #15468 Signed-off-by: Christopher Jenkins <christj@gmail.com>