Surf the Dream A discourse of links and articles from Justin Avery

Permission errors when using sudo

XKCD Comic about Sudo

Sudo is usually the command that gets me past any permission issues on the server or my Mac.

Usually.

Today I was working my way through setting up Grunt for a responsive project and I was running into issues with the Compass part of the grunt file.

After some googling I found I needed to update the gems and reinstall compass.

This through permission errors even when prefixing the command with sudeo

sudo gem update --system && gem install compass

After a bit of searching I came across a tip that fixed the problem

access root terminal by typing sudo -s

I’m not sure why, but this worked a treat.

Surf the Dream is a blog that has been running since the mid 2000's when it started on BlogSpot. Over the years it's been rebranded as justinavery.me (now my resume) and JaveryDesign.com (which now redirects back to this site).

I offer consultation services through Simple Things, produce a range of educational pocket notebooks, write about the Universe and run a responsive design and a RWD Weekly Newsletter