User login

Permissions error on git pull

ben@ubuntu:~/code/oa/web$ rake prod vlad:update
(in /home/ben/code/oa)
Everything up-to-date
Already on 'master'
Your branch is ahead of 'agaric/master' by 10 commits.
From git.agaric.com:/srv/git/oa
 * branch            master     -> FETCH_HEAD
error: unable to unlink old 'web/sites/default/default.settings.php' (Permission denied)
Updating 183cb44..744b38c
rake aborted!
execution failed with status 1: ssh oa@sojourner.mayfirst.org cd /var/local/drupal/oa && git checkout master && git pull agaric master

Looking at the file's permissions though and everything looks in order:

0 sojourner:/var/local/drupal/oa# ls -la web/sites/default/
total 36
dr-xr-xr-x 3 oa staff 4096 2011-02-23 14:35 .
drwxr-sr-x 4 oa staff 4096 2010-09-23 09:50 ..
-rw-r--r-- 1 oa staff 9485 2010-09-23 09:50 default.settings.php
drwxr-sr-x 6 oa staff 4096 2011-05-26 20:52 files
-r--r--r-- 1 oa staff 9466 2010-09-23 11:33 settings.php

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.