Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
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
edx
configuration
Commits
e97975da
Commit
e97975da
authored
Nov 17, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
playbooks/roles/local_dev/tasks/main.yml
+11
-0
No files found.
playbooks/roles/local_dev/tasks/main.yml
View file @
e97975da
...
...
@@ -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
...
...
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