Forrest logo
back to the chmod tool

chmod:ai:a9978

How to unset permissions on a file for group
$ chmod g-s ${filename}
try on your machine

This command removes the setuid and/or setgid permissions for the group on the specified file

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to unset permissions on a file for group ?
back to the chmod tool