4

I have added umask 002 to /etc/profile, but software like git and apache still sets files to 755 instead of 775. Is there a way to force umask 002 for all programs on a machine?

grm
  • 425
  • 2
  • 4
  • 10

1 Answers1

2

I don't know if this can be done globally but tracking down the startup scripts for the relevant software and setting the umask there should do the trick.

user9517
  • 117,122