Tuesday, July 4, 2017

Re: Django, permission error saving on disk, why?

Looks like Linux permission issue. Are you sure user that runs Django is allowed to write anything to given directory?

On 4 Jul 2017, at 14:37, Antonis Christofides <antonis@djangodeployment.com> wrote:

Is it possible to show full traceback and error message?

Antonis Christofides  http://djangodeployment.com
On 2017-07-04 14:33, miguel vfx wrote:
Hello,I'm getting a Permissions Error [Errno 13] Permission Denied when a workbook on disk using openpyxl:
wb.save(path)

No file is uploaded. It's a request then the file is generated and delivered (downloaded), and that part works fine. What I'm trying to do is save a copy of that file on disk.


So far I have rw to both group and others. Same error.


Has anyone tried this before? Is this a Django issue or Linux/Permission? Thank you for the help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1d973104-6c3f-4b67-865a-389ab58f39a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/72cbeb2d-cc8b-7bdd-7423-79dd698e6f8c%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment