Created
June 3, 2014 13:10
-
-
Save jasperf/f40b32bbec37520a11d4 to your computer and use it in GitHub Desktop.
Command to make all new files and directories created under the directory belong to the same group as that directory. #chown #unix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#make all files within a directory belong to a group | |
chmod g+s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And to change the group to apache to make it possible use chgrp apache /path/to/mydir