How do I tell sudo to write files with a umask of 0022?
Fresh3 days ago
Mar 15, 202613454 viewsConfidence Score0%
0%
Problem
I recently upgrading to Snow Leopard. I have noticed that some files written by MacPorts are installed with the wrong permission -- they are written with a umask of 0077. I think I have narrowed down the problem: The command is invoked via . My file specifies a umask of 0077. On older versions of O…
Error Output
Defaults umask=0022
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I tell sudo to write files with a umask of 0022?
Low Risk
I ended up adding the following to my configuration script:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix