MacOS – Permission denied error when opening Terminal

errormacospathterminal

I'm using a clean install of 10.8. I wanted to add a couple of directories to my path. I tried adding them to /etc/paths using

sudo vim /etc/paths

Now when I open a terminal window I see this:

Last login: Wed Jan 23 15:42:57 on ttys001
/etc/paths: Permission denied
pcp067952pcs:~ myLoginName$

This doesn't affect usability, however it is something I would prefer to fix.

Any ideas?
-Austin

Best Answer

solved by repairing permissions, thanks to jakebird451 and Mark in the comments above

i'm not sure is sudo is necessary, however this worked to fix it

sudo chmod 0644 /etc/paths

thanks!