Ok, I have an apparent WTF question here.
I log as root, I run:
# ls /var/lib/gitolite3/.gitolite/logs/ -l -rw-rw-rw-. 1 gitolite3 gitolite3 5570 Aug 2 21:00 gitolite-2013-08.log
No problem? I log in as gitolite3, run the same thing again:
# su gitolite3 $ ls /var/lib/gitolite3/.gitolite/logs/ -l -????????? ? ? ? ? ? gitolite-2013-08.log
What is going on? There are also errors elsewhere saying that log cannot be accessed. FS is EXT4. OS is Centos6.4. Before, I had to change the uid and gid of gitolite3 to let suexec run commands under that user and group, and consequently I had to chown -R gitolite3:gitolite3 that folder tree again. Fsck doesn't let me, the FS is already mounted.