$ pwd /usr/local/apache_2.2.4/htdocs/weichert $ ls -al total 338 drw-r-xr-x 10 svnowner 105 1024 Oct 1 12:57 . drwxrwsr-x 24 12348 105 2048 Oct 1 12:55 .. drw-r-sr-x 6 svnowner 105 1024 Oct 2 14:09 .svn -rw-r-xr-x 1 svnowner 105 4443 Oct 1 12:57 add.php -rw-r-xr-x 1 svnowner 105 2993 Oct 1 12:56 clients.php -rw-r-xr-x 1 svnowner 105 0 Oct 1 12:57 contacts2.php -rw-r-xr-x 1 svnowner 105 11100 Oct 1 12:57 edit.php -rw-r-xr-x 1 svnowner 105 685 Oct 1 12:57 fileupload.php -rw-r-xr-x 1 svnowner 105 9557 Oct 1 12:57 iadd.php -rw-r-xr-x 1 svnowner 105 11113 Oct 1 12:56 iedit.php drw-r-sr-x 3 svnowner 105 512 Oct 1 12:56 images drw-r-sr-x 3 svnowner 105 512 Oct 1 12:56 include -rw-r-xr-x 1 svnowner 105 2860 Oct 1 12:56 investors.php -rw-r-xr-x 1 svnowner 105 2821 Oct 1 12:57 investors2.php -rw-r-xr-x 1 svnowner 105 3175 Oct 1 12:56 login.php -rw-r-xr-x 1 svnowner 105 10968 Oct 1 12:57 lpedit.php -rw-r-xr-x 1 svnowner 105 1138 Oct 1 12:57 lpf_update_notes.txt -rw-r-xr-x 1 svnowner 105 11461 Oct 1 12:56 lprecords.php -rw-r-xr-x 1 svnowner 105 687 Oct 1 12:57 mailupload.php -rw-r-xr-x 1 svnowner 105 687 Oct 1 12:57 main.php -rw-r-xr-x 1 svnowner 105 3361 Oct 1 12:56 mupdate.php -rw-r-xr-x 1 svnowner 105 200 Oct 1 12:57 mysql_contacts_table_query.txt drw-r-sr-x 3 svnowner 105 1024 Oct 1 12:56 old_web_files -rw-r-xr-x 1 svnowner 105 2620 Oct 1 12:57 output.php -rw-r-xr-x 1 svnowner 105 229 Oct 1 12:57 pending.php drw-r-sr-x 3 svnowner 105 512 Oct 1 12:56 pimages -rw-r-xr-x 1 svnowner 105 15521 Oct 1 12:56 property_codes.php -rw-r-xr-x 1 svnowner 105 3158 Oct 1 12:56 search.php -rw-r-xr-x 1 svnowner 105 1808 Oct 1 12:57 site_changes.txt -rw-r-xr-x 1 svnowner 105 402 Oct 1 12:57 t.php -rw-r-xr-x 1 svnowner 105 2708 Oct 1 12:57 tax_sales.php drw-r-sr-x 3 svnowner 105 512 Oct 1 12:56 test -rw-r-xr-x 1 svnowner 105 831 Oct 1 12:57 test.php -rw-r-xr-x 1 svnowner 105 3418 Oct 1 12:56 tupdate.php -rw-r-xr-x 1 svnowner 105 3442 Oct 1 12:57 update.php drw-r-sr-x 3 svnowner 105 512 Oct 1 12:56 uploads -rw-r-xr-x 1 svnowner 105 9186 Oct 1 12:57 vacant_rundown.php -rw-r-xr-x 1 svnowner 105 5504 Oct 1 12:56 view.php -rw-r-xr-x 1 svnowner 105 5278 Oct 1 12:57 vroadd.php -rw-r-xr-x 1 svnowner 105 5557 Oct 1 12:57 vroedit.old -rw-r-xr-x 1 svnowner 105 8276 Oct 1 12:57 vroedit.php drw-r-sr-x 3 svnowner 105 512 Oct 1 12:56 weichert_info $ cat post-commit #!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repository) # [2] REV (the number of the revision just committed) # # The default working directory for the invocation is undefined, so # the program should set one explicitly if it cares. # # Because the commit has already completed and cannot be undone, # the exit code of the hook program is ignored. The hook program # can use the 'svnlook' utility to help it examine the # newly-committed tree. # # On a Unix system, the normal procedure is to have 'post-commit' # invoke other programs to do the real work, though it may do the # work itself too. # # Note that 'post-commit' must be executable by the user(s) who will # invoke it (typically the user httpd runs as), and that user must # have filesystem-level permission to access the repository. # # On a Windows system, you should name the hook program # 'post-commit.bat' or 'post-commit.exe', # but the basic idea is the same. # # The hook program typically does not inherit the environment of # its parent process. For example, a common problem is for the # PATH environment variable to not be set to its usual value, so # that subprograms fail to launch unless invoked via absolute path. # If you're having unexpected problems with a hook program, the # culprit may be unusual (or missing) environment variables. # # Here is an example hook script, for a Unix /bin/sh interpreter. # For more examples and pre-written hooks, see those in # the Subversion repository at # http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and # http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/ REPOS="$1" REV="$2" #commit-email.pl "$REPOS" "$REV" commit-watchers@example.org #log-commit.py --repository "$REPOS" --revision "$REV" /usr/local/bin/svn update /usr/local/apache_2.2.4/htdocs/weichert > /tmp/svnupdate.log 2>&1 ls -al /usr/local/apache_2.2.4/htdocs/weichert > /tmp/svnupdate.log 2>&1 /usr/bin/id > /tmp/svn_id.log 2>&1 ***made change in eclipse...and ran commit*** $ cd /tmp $ ls mysql.sock ssh-PaSlHW1909 svn_id.log svnupdate.log $ cat svnupdate.log /usr/local/apache_2.2.4/htdocs/weichert/.: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/..: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/.svn: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/pimages: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/images: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/uploads: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/test: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/include: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/weichert_info: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/old_web_files: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/investors.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/lprecords.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/iedit.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/mupdate.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/property_codes.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/clients.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/search.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/tupdate.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/login.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/view.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/investors2.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/test.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/vroadd.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/update.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/site_changes.txt: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/add.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/main.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/fileupload.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/edit.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/mailupload.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/vacant_rundown.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/output.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/contacts2.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/iadd.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/t.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/vroedit.old: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/vroedit.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/lpedit.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/tax_sales.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/lpf_update_notes.txt: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/pending.php: Permission denied /usr/local/apache_2.2.4/htdocs/weichert/mysql_contacts_table_query.txt: Permission denied total 0 $ cat svn_id.log uid=12346(svnowner) gid=1(other)