error: unable to unlink old 'sites/default/settings.php' (Permission denied)
fatal: Could not reset index file to revision 'origin'.

Comments

Majdi created an issue. See original summary.

  • Majdi authored caa55e6 on 7.x-1.x
    Merge pull request #11 from MajdiZ/2904891-error-unable-to-unlink-old-...
  • Majdi committed d9488d7 on 7.x-1.x
    Issue #2904891 by Majdi: error: unable to unlink old 'settings.php' (...
majdi’s picture

Status: Active » Needs review
stacie_a’s picture

Not sure if this is really a Deploy issue, but I've run across this a couple of times. Leaving this solution here for others to find.

Repairing/resetting my mac home directory permissions seemed to fix things.

Resolve issues caused by changing the permissions of items in your home folder

majdi’s picture

Status: Needs review » Fixed

This ticket was done for default directory permission. Drupal always lock the default directory and set the permission to 555. if you change any file tracked by git under the default directory, When you deploy from Github the pulling will fail because git cant changes the files under default directory.

please for any problem you face just push ticket and I will take look into it.
Module still not complete, I will improve it next few weeks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.