Skip to content

Commit

Permalink
add in TMP_PATH (bug 614429)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Nov 24, 2010
1 parent 5fd544a commit b02cbb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/amo/views.py
Expand Up @@ -91,6 +91,7 @@ def monitor(request):

# Check file paths / permissions
filepaths = (
(settings.TMP_PATH, os.R_OK | os.W_OK, "We want read + write."),
(settings.NETAPP_STORAGE, os.R_OK | os.W_OK, "We want read + write."),
(settings.UPLOADS_PATH, os.R_OK | os.W_OK, "We want read + write."),
(settings.ADDON_ICONS_PATH,
Expand All @@ -99,6 +100,8 @@ def monitor(request):
os.R_OK | os.W_OK, "We want read + write."),
(settings.PREVIEWS_PATH, os.R_OK | os.W_OK, "We want read + write."),
(settings.USERPICS_PATH, os.R_OK | os.W_OK, "We want read + write."),
(settings.SPHINX_CATALOG_PATH, os.R_OK | os.W_OK, "We want read + write."),
(settings.SPHINX_LOG_PATH, os.R_OK | os.W_OK, "We want read + write."),
)
filepath_results = []
filepath_status = True
Expand Down

0 comments on commit b02cbb2

Please sign in to comment.