Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: chown-chmod-me – two commands to make your files private
1 point by jph 14 days ago | hide | past | favorite
https://github.com/sixarm/chown-chmod-me

Security is hard. During a recent volunteer event we found some people had files with incorrect user/group ownership and incorrect public permissions.

This script wraps two commands that help:

  chown -R "$(id -un):$(id -gn)" "$@"
  chmod -R go= "$@"



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: