How to fix "error setting owner of a.s to uid 0 and gid 0" without sudo
0
votes
1
answer
181
views
This is related to another question on logrotate qs1 . When running the command
logrotate /etc/logrotate.d/test
, I am also getting a error: error setting owner of /var/lib/logrotate/status.tmp to uid 0 and gid 0: Operation not permitted
error. The answer in the other question said that this issue can be fixed using the sudo command sudo logrotate /etc/logrotate.d/test
. Is there a way to fix this without the sudo access? Can I avoid setting the owner to uid 0 and gid 0?
Asked by brokendreams
(101 rep)
May 15, 2024, 04:37 AM
Last activity: May 15, 2024, 06:52 AM
Last activity: May 15, 2024, 06:52 AM