Skip to content

Instantly share code, notes, and snippets.

@1951FDG
Created October 26, 2013 20:02
Show Gist options
  • Save 1951FDG/5c1a6b094b2b0843188c to your computer and use it in GitHub Desktop.
Save 1951FDG/5c1a6b094b2b0843188c to your computer and use it in GitHub Desktop.
setgid 'procmod' permission
This special permission allows the file to be run with the security permissions of the group instead of the permission of the user who ran the program. This can be a source of security problems. The sgid permission is seen as an "S" in the group executable position in a long directory listing (ls -l). Has no effect if the file is not executable.
sudo chgrp procmod
sudo chmod g+s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment