Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of mkdir with correct permissions when user=apache #134

Merged
merged 2 commits into from
Jun 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions environment
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export TMPDIR=/tmp
export LORIS_CONFIG=/data/%PROJECT%/bin/mri/dicom-archive

source %MINC_TOOLKIT_DIR%/minc-toolkit-config.sh
umask 0002

3 changes: 3 additions & 0 deletions imaging_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ else
read -p "Cannot find the apache group name for your installation. Please provide? " group
fi

# Making lorisadmin part of the apache group
sudo usermod -a -G $group $USER

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christinerogers ,
this was already in your Readme but the installation script did not do it.

#Setting group permissions to apache and group ID for all files/dirs under /data/$PROJ/data
sudo chgrp $group -R /data/$PROJ/data/
sudo chmod -R g+s /data/$PROJ/data/
Expand Down