Forrest logo
back to the chmod tool

chmod:ai:14fbe

Какая команда (или конфигурация) позволяет настраивать автоматическую смену группы для вновь созданных файлов в каталоге (на уровне системных прав, без ACL)?
$ chmod g+s ${directory}
try on your machine

Sets the setgid bit on the directory, causing newly created files within that directory to inherit the group of the parent directory

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:

  • Какая команда (или конфигурация) позволяет настраивать автоматическую смену группы для вновь созданных файлов в каталоге (на уровне системных прав, без ACL)?
back to the chmod tool