Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Command to make all new files and directories created under the directory belong to the same group as that directory. #chown #unix
#make all files within a directory belong to a group
chmod g+s

This comment has been minimized.

Copy link
Owner Author

@jasperf jasperf commented Sep 24, 2014

And to change the group to apache to make it possible use chgrp apache /path/to/mydir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment