Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
acd7e101
Commit
acd7e101
authored
Aug 01, 2017
by
Samuel Sirois
Browse files
Fix persmissions on <tests> folder
parent
c768224c
Pipeline
#6927
failed with stages
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core.py
View file @
acd7e101
...
...
@@ -182,6 +182,8 @@ def fix_files_owner_and_permissions():
cmd
=
"find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;"
)
dk_run
(
service
,
user
=
'root'
,
cmd
=
"find . -type f -exec chmod u=rw,g=r,o= '{}' \;"
)
dk_run
(
service
,
user
=
'root'
,
cmd
=
"find ../tests -type d -exec chmod u=rwx,g=rwx,o= '{}' \;"
)
dk_run
(
service
,
user
=
'root'
,
cmd
=
"cd sites && find . -type d -name files -exec chown -R {}:{} "
"'{}' \;"
.
format
(
env
.
apache_userid
,
env
.
local_userid
,
'{}'
))
...
...
Write
Preview
Supports
Markdown
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