Commit e697af09 authored by Baptiste Bardes-Saoli's avatar Baptiste Bardes-Saoli
Browse files

Merge branch 'fix/permissions-in-test-folder' into '3.x'

Fix persmissions on <tests> folder

See merge request !41
parents c768224c acd7e101
Pipeline #6930 failed with stages
in 35 seconds
......@@ -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, '{}'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment