Skip to content

Permission issues on newly created files

This may sound weird, but let me present the case.

Running iTerm2 Build 2.9.20150708-nightly on Mac OSX 10.10.4

I noticed i was getting file permission errors in my project and could not figure out why. I decided to re-clone and still got weird issues, so I fired the regular Terminal and repeated the process. The result was a completely different set of permissions, so I can only conclude this is something about iTerm2, since its the only difference between both.

Reproducing on Terminal:

$ git clone https://github.com/rdohms/pronto
$ cd pronto
$ ls -la

total 56
-rw-r--r--  1 rdohms  wheel  1080 Jul  8 17:30 LICENSE
-rw-r--r--  1 rdohms  wheel  1787 Jul  8 17:30 README.md
-rw-r--r--  1 rdohms  wheel   278 Jul  8 17:30 bower.json
drwxr-xr-x  3 rdohms  wheel   102 Jul  8 17:30 config
drwxr-xr-x  4 rdohms  wheel   136 Jul  8 17:30 extension
-rw-r--r--  1 rdohms  wheel  8223 Jul  8 17:30 gulpfile.js
-rw-r--r--  1 rdohms  wheel   869 Jul  8 17:30 package.json
drwxr-xr-x  5 rdohms  wheel   170 Jul  8 17:30 src

on Iterm2:

$ git clone https://github.com/rdohms/pronto
$ cd pronto
$ ls -la

total 56
-rw-------  1 rdohms  wheel  1080 Jul  8 17:30 LICENSE
-rw-------  1 rdohms  wheel  1787 Jul  8 17:30 README.md
-rw-------  1 rdohms  wheel   278 Jul  8 17:30 bower.json
drwx------  3 rdohms  wheel   102 Jul  8 17:30 config
drwx------  4 rdohms  wheel   136 Jul  8 17:30 extension
-rw-------  1 rdohms  wheel  8223 Jul  8 17:30 gulpfile.js
-rw-------  1 rdohms  wheel   869 Jul  8 17:30 package.json
drwx------  5 rdohms  wheel   170 Jul  8 17:30 src

I cannot, yet, find anything different from Terminal.app and iTerm2, so i'll keep digging.

com.googlecode.iterm2.plist