wayneeseguin/rvm — Issue #628: rvmrc umask changes umask globally
Author: doits
Created: 2011-12-04 15:36:38+00:00
State: open

hello,

i installed the latest rvm head as a multi-user install on my ubuntu lucid server. it created a /etc/rvmrc with this:

umask g+w

now, the following happens after i log in:

Last login: Sun Dec 4 16:18:20 2011 from xxx
markus:~$ umask
0022
markus:~$ cd
markus:~$ umask
0002
markus:~$ umask 0022
markus:~$ umask
0022
markus:~$ cd /
markus:/$ umask
0002
markus:/$

so after I change the directory (doesn't matter where I go, tested it multiple times), the `umask g+w` is executed. If I remove the line, umask is not changed. is this supposed to do this? If yes, why? (It should be mentioned in the docs if that is supposed to be like that - it took me some time to track down that rvm is changing my umask ...)