MacOS – Yosemite file permissions/ownership issue

macospermission

I'm no stranger to OSX and a while back I upgraded to Yosemite at rollout.

I'm a web developer an I'm encountering a strange behaviour with file permissions ever since upgrading. For example, I'm using the command line to pull in files through Git or Composer. Previously, when I did this, I was automatically the owner of these new folders and files and had read/write access.

However, when I perform the same operations, I'm no longer the owner and have to go about chown and chmoding various folders in order to get going.

I haven't heard of anyone else experiencing this. Any ideas?

Chris

Best Answer

I found the solution which was much more localised.

I needed to chown -R my composer directory. For some reason, I wasn't the owner. After running this command, the issue was resolved.