Anytime I create a directory (with
mkdir, or if
git creates it, etc) it's given these permissions:
drwxrwxrwx 2 username usergroup 2 Apr 6 20:36 test/
I'd rather have permissions of
drwxr-xr-x 2 username usergroup 2 Apr 6 20:36 test/
When I check
umask I get
0022, which I believe should result in files with
755 permissions. I also checked
/etc/login.defs which shows that my
UMASK is set to
Any idea what's going on?
I'm on Ubuntu 18.04.