-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I wanted to set up rsync to backup my home directory to my own machine, and in doing so discovered that I couldn't read some files in the stewardbots multi-maintainer account because they had group 5000 (which I'm not in) instead of group stewardbots (which I am in).
I initially thought this might be done by phoenix, however the .pid files are not affected (only the .out files), so I don't think that's the case. Thanks to Simetrical for assistance and helping me think this through.
Instead, I believe this is caused by a script run from cron to trim the log files. The command used there was "tail -n $lines $file > $file.temp && rm $file && mv $file.temp $file" and I've added to the end a "&& chgrp stewardbots $file" which I hope will correct the issue.
Does anyone know why that would have changed the file's group (really it is not changed since the original is deleted, and replaced)? If so, how can I avoid that directly, instead of changing it back after?
Thanks for your help, - -Mike.lifeguard