find -type d | xargs chmod g+rwsx
Somebody has been messing with the checked out contents of the htdocs, and made a serious permissions mess and lots of dupes (and broken my cronjob):
./cvs ./cvs/phpMyAdmin-2.6.0-dev ./cvs/phpMyAdmin-2.6.0-dev/css ./cvs/phpMyAdmin-2.6.0-dev/fpdf ./cvs/phpMyAdmin-2.6.0-dev/fpdf/font ./cvs/phpMyAdmin-2.6.0-dev/docSQL ./cvs/phpMyAdmin-2.6.0-dev/images ./cvs/phpMyAdmin-2.6.0-dev/lang ./cvs/phpMyAdmin-2.6.0-dev/libraries ./cvs/phpMyAdmin-2.6.0-dev/libraries/auth ./cvs/phpMyAdmin-2.6.0-dev/libraries/dbg ./cvs/phpMyAdmin-2.6.0-dev/libraries/dbi ./cvs/phpMyAdmin-2.6.0-dev/libraries/export ./cvs/phpMyAdmin-2.6.0-dev/libraries/fpdf ./cvs/phpMyAdmin-2.6.0-dev/libraries/fpdf/font ./cvs/phpMyAdmin-2.6.0-dev/libraries/transformations ./cvs/phpMyAdmin-2.6.0-dev/libraries/xpath ./cvs/phpMyAdmin-2.6.0-dev/scripts ./phpMyAdmin ./phpMyAdmin/CVS ./phpMyAdmin/css ./phpMyAdmin/css/CVS ./phpMyAdmin/images ./phpMyAdmin/images/CVS ./phpMyAdmin/lang ./phpMyAdmin/lang/CVS ./phpMyAdmin/libraries ./phpMyAdmin/libraries/CVS ./phpMyAdmin/libraries/auth ./phpMyAdmin/libraries/auth/CVS ./phpMyAdmin/libraries/dbg ./phpMyAdmin/libraries/dbg/CVS ./phpMyAdmin/libraries/export ./phpMyAdmin/libraries/export/CVS ./phpMyAdmin/libraries/dbi ./phpMyAdmin/libraries/dbi/CVS ./phpMyAdmin/libraries/fpdf ./phpMyAdmin/libraries/fpdf/CVS ./phpMyAdmin/libraries/fpdf/font ./phpMyAdmin/libraries/fpdf/font/CVS ./phpMyAdmin/libraries/transformations ./phpMyAdmin/libraries/transformations/CVS ./phpMyAdmin/scripts ./phpMyAdmin/scripts/CVS ./phpMyAdmin/scripts/cvs ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/css ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/images ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/lang ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/auth ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/dbg ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/dbi ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/export ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/fpdf ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/fpdf/font ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/libraries/transformations ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev/scripts ./cvs-1081440496 ./cvs-1081440496/phpMyAdmin-2.6.0-dev ./cvs-1081440496/phpMyAdmin-2.6.0-dev/css ./cvs-1081440496/phpMyAdmin-2.6.0-dev/images ./cvs-1081440496/phpMyAdmin-2.6.0-dev/lang ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/auth ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/dbg ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/dbi ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/export ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/fpdf ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/fpdf/font ./cvs-1081440496/phpMyAdmin-2.6.0-dev/libraries/transformations ./cvs-1081440496/phpMyAdmin-2.6.0-dev/scripts
Esp. concerning is ./phpMyAdmin/scripts/cvs/phpMyAdmin-2.6.0-dev and ./cvs-1081440496
My cronjob automatically updates the ./phpMyAdmin dir every 3 hours.
cd /home/groups/p/ph/phpmyadmin/htdocs rm -rf phpMyAdmin/scripts/cvs cvs cvs-1081440496
Then BOTH Oliver (swix) and Marc (lem9) need to do: cd /home/groups/p/ph/phpmyadmin/htdocs chgrp -R phpmyadmin . find -type d | xargs chmod g+s find | xargs chmod g+rw
In future, to avoid these problems, after you login, do: sg phpmyadmin umask 0002
Then work in the group directory. This will ensure that all permissions and ownerships remain sane.