Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
ffde0f03
Commit
ffde0f03
authored
Feb 02, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mv run comex-run + some more permissions details
parent
8eda766e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
comex-run.sh
comex-run.sh
+0
-0
permissions_setup.md
doc/permissions_setup.md
+15
-4
No files found.
run.sh
→
comex-
run.sh
100644 → 100755
View file @
ffde0f03
File moved
doc/permissions_setup.md
View file @
ffde0f03
...
...
@@ -10,12 +10,23 @@ find . -type d -exec chmod 755 {} +
# files don't need +x, except php
find . -type f -exec chmod 644 {} +
chmod 755 *.php
chmod 755 services/*.py
# and all this belongs to www-data group
chown -R :www-data .
```
For the
`data`
directory:
-
we need root ownership for the mysql part (accessed by the mysql docker)
-
and www-data for the pictures
```
# data must be writeable
chmod 774 data
chmod 774 data/shared_mysql_data/ # <=> u+rwx, g+rwx, o+r
# and all this belongs to www-data group
chown -R :www-data .
# mysql data more restrictive
find data/shared_mysql_data/ -type d -exec chmod 750 {} +
find data/shared_mysql_data/ -type f -exec chmod 640 {} +
# and accessible by docker user
sudo chown -R 999:999 data/shared_mysql_data
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment