Commit e97975da by Feanil Patel

Merge pull request #2492 from edx/feanil/devstack_edxapp_data

Make sure edxapp user can write to the data dir in devstack.
parents bc096b31 9acdb00b
......@@ -9,6 +9,17 @@
with_items: localdev_accounts
when: item.user != 'None'
# The user that runs the app needs read/write permissions
# to the directories under var to be able to import and create
# new courses.
- name: update permissions for edxapp data dir
file:
path: "{{ edxapp_data_dir }}"
state: "directory"
recurse: yes
owner: "{{ edxapp_user }}"
when: edxapp_user is defined
# Ensure forum user has permissions to access .gem and .rbenv
# This is a little twisty: the forum role sets the owner and group to www-data
# So we add the forum user to the www-data group and give group write permissions
......
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