Jump to content

Настройка прав доступа для Git

Recommended Posts

Использовал инструкцию https://habrahabr.ru/post/127213/
для настройки депйломента на вебсервер,
все ок, но при git push такая ошибка (remote: error: unable to unlink old 'page/test.php' (Permission denied))

Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 392 bytes | 0 bytes/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: **** Вытягиваем изменения в Prime [Hub's post-update hook]
remote: From /var/www/html/site
remote:  * branch            master     -> FETCH_HEAD
remote:    2587bdd..2633fe9  master     -> hub/master
remote: error: unable to unlink old 'page/test.php' (Permission denied)
remote: Updating 92a1d24..2633fe9
To ssh://site.com/var/www/html/site.git/
   92beeec..2633fe9  master -> master

Играюсь с правами уже несколько часов((( Не могу понять в чем ошибка

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...