#28170: File upload to a CIFS mount fails with Permissions Denied
--------------------------------------+------------------------------------
Reporter: Derrick Jackson | Owner: nobody
Type: Bug | Status: new
Component: File uploads/storage | Version: 1.11
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Derrick Jackson):
Tim... I will see what I can do. The tough part will be simulating a CIFS
mount. I know the easy route would be to wrap line 296 of
django/db/models/fields/files.py with a try/except but I know there's more
to it.
{{{
try:
file.save(file.name, file.file, save=False)
except Exception as e:
file.save(file.name, file, save=False)
}}}
I'll keep digging into it.
--
Ticket URL: <https://code.djangoproject.com/ticket/28170#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.b9dd1590e4416e8e4fb422422351be56%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.