I run my own git server on my debian server. I use gitosis for access control. I noticed that my /opt/vc directory changes ownership from git:git to myUsername:myDefaultGroup every so often. Almost like something runs chwon -R myUsername:myDefaultGroup /opt/vc on it. I haven't been able to pinpoint the exact timeframe of changes. This causes gitosis to not work anymore as it doesn't have permissions to read/write the directory. There is nothing in root crontab that would cause this.
Can someone help me track down what causes the file ownership changes? This didn't happen when I originally installed git/gitosis, it started only recently and I don't remember doing anything that would cause this.