How is umask calculated in Linux?
So I know umask
can restrict privileged users, using this format umask ugo
.
So I know umask
can restrict privileged users, using this format umask ugo
.
I’ve the script which loads the SSH key from the variable (as part of script in CI environment) in order to not keep the private file in the public repository, however ssh-add
complains about the wrong permissions (and it seems it’s not possible to bypass it). So my approach is to find the method of changing the permission of anonymous pipe which is created on the fly.