Tag Archives: development

Permissions Problems with git pull

I’ve started working on Doc5 from a laptop in the last few months and have begun the pull/push process to get my Bitbucket repo and desktop machine all in sync. But when trying to get these sorted I found permissions problems on one of the local repos. When I tried to do a pull I had about eight files that either couldn’t be unlinked or couldn’t be created.

If I looked at the permissions on the files I was the owner, www-data (Apache in Ubuntu) was the group and the permissions where 644 on the files and 755 on the directories in my project folder. So that all seemed fine.

But what you need to watch for is the extra permissions that a process needs in order to unlink. What git is doing is taking these files away and then replacing them in the folder. i.e. it’s not just a modification through a write action to the file. Continue reading Permissions Problems with git pull

Ignore Network Latency at Your Peril

We all know developers need to consider a few things outside their own backyard. Things like hardware and the network affect software even if there’s not much that can be done to control them (even if you’re Apple). This is especially true for the network if you develop software for mobile devices.

So to help us all understand why the nuances of any network are important to all of us, Nic Wise has a good little blog post about what to keep in mind. It’s written in people language and not TCP layers, so we can all benefit from this one.