Hi,
We are running a system where the default umask is 0077.
When installing a system-wide rubygem (as root), for example, the installed files and executables are installed with rights for the root user only.
I would like to avoid trying to manually find and set the mode on all the files installed, as there are many (200+) and in quite a few locations.
I could manually change the .profile’s umask to 0022 and then manually revert when done, but this seems like a hack.
Is there any way to run the umask command before an ansible module?
Many thanks,
Steve