generated from mhausenblas/mkdocs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4746ad3
commit f49a346
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,13 +27,13 @@ If you need to enable other users to access a file/folder you need to set the gr | |
folder="some_folder/" | ||
# create the folder if it doesn't exist already | ||
mkdir -p $folder | ||
mkdir -p "$folder" | ||
# set group ownership | ||
chown -R :[email protected] "$folder" | ||
# If there are already files with weak permissions, correct them with: | ||
chmod -R o-x $folder | ||
chmod -R o-x "$folder" | ||
# set the setGID sticky bit to ensure new files and folders inherit group ownership | ||
chmod 2775 "$folder" | ||
|