Solve the umask problem
Open
development
p1
ux
- Dominant language
- Go
- Stars
- 794
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
If you setup the wrong umask everything breaks. I wonder if we can detect this early on and fix it for the user somehow (or warn at least).
for now, here's what I'm doing to fix a `027` umask to `022`
```bash
find . | xargs stat -c '%a %n' | grep -v './.git' | awk '{print substr($1,0,2) substr($1,2,1) " " $2}' | xargs -I{} bash -c "chmod {}"
```
Contributor guide
Assessment
This issue has not been assessed yet.