| Summary: |
toastermain settings.py hardcoded filecache location |
| Product: |
[Build System, Metadata & Runtime] Toaster
|
Reporter: |
Michael Wood <michael.g.wood> |
| Component: |
toaster | Assignee: |
Michael Wood <michael.g.wood> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Alexandru Roman <alexandru.costinx.roman> |
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
alexandru.costinx.roman, belen.barros.pena, jessica.zhang, stanciux.mihail
|
| Version: |
2.1 | |
|
| Target Milestone: |
2.1 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
In the toastermain/settings.py file the cache location we specify: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/tmp/django-default-cache', 'TIMEOUT': 1, } } This means that if user A runs toaster that directory is owned by user A meaning the if B runs it we get a permission denied error. In 1.8 this causes an exception.