A part of the protest.net’s recent move to a new server, we’ve moved towards less custom compiled packages, and a more standard Debian install. One of those changes was that apache no longer runs as the user ‘apache’, but rather as ‘www-data’. Well and fine, except Wifimug is using rcs to provide versioning, and every file is strictly locked by the user apache, who no longer exists. What to do?
First mass unlock all the files with:
sudo rcs -u *,v
Then mass re-lock with:
sudo -u www-data rcs -l *,v
Hat tip to Nat for pointing out the problem.