Update error after completing SVN transaction (unable to create temporary file from template / allowed)

My click after commit:

/ usr / bin / svn update / var / www / html / mysite / - username myusername --password mypassword --no-auth-cache → /var/www/html/mysite/foo.txt 2> & 1

After committing, my post-commit prints the following to foo.txt:

Update '/ var / www / html / mysite': svn: E000013: cannot create a temporary file from the template '/var/www/html/mysite/.svn/tmp/svn-XXXXXX': Permission denied

Any ideas? There must be something related to permissions. He worked, but something happened.

+6
source share
3 answers

check if you have permission / var / www / html / mysite /

+7
source

When this happens to me (svn 1.7.14), I usually just need to create the tmp directory and reissue the command:

mkdir /var/www/html/mysite/.svn/tmp 
+3
source

For all Linux machine users

The file permissions issue runs this particular command in the linux terminal.

  chmod -R 0777 /var/www/YourProjectName 
+2
source

Source: https://habr.com/ru/post/950862/


All Articles