Skip to main content
summaryrefslogtreecommitdiffstats
blob: ba85642ca41836d3c9349b85a3ba295eca81e410 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
USER=`grep www /etc/passwd | sed s/:.*//`
find var/ -name trac.ini | xargs chown $USER
find var/ -name db -type d | xargs chown -R $USER
find var/ -name log -type d | xargs chown -R $USER
find var/ -name attachments -type d | xargs chown -R $USER
chown -R $USER var/svn
chmod 775 bin/*

Back to the top