You may have supersuer priviledges but it's possible that the process you
are running does not. How are you spawning the Django server?

-Chris

On Fri, Oct 2, 2009 at 4:02 PM, neridaj <[email protected]> wrote:

>
> I'm trying to upload a product image and I'm getting: (13, 'Permission
> denied'). I have super user privileges so I don't understand why this
> is happening.
>
>
> Traceback:
> File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py"
> in get_response
>  92.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "/usr/lib/python2.6/dist-packages/django/contrib/admin/
> options.py" in wrapper
>  226.                 return self.admin_site.admin_view(view)(*args,
> **kwargs)
> File "/usr/lib/python2.6/dist-packages/django/utils/decorators.py" in
> __call__
>  23.         return self.decorator(self.func)(*args, **kwargs)
> File "/usr/lib/python2.6/dist-packages/django/views/decorators/
> cache.py" in _wrapped_view_func
>  70.         response = view_func(request, *args, **kwargs)
> File "/usr/lib/python2.6/dist-packages/django/contrib/admin/sites.py"
> in inner
>  186.             return view(request, *args, **kwargs)
> File "/usr/lib/python2.6/dist-packages/django/db/transaction.py" in
> _commit_on_success
>  240.                 res = func(*args, **kw)
> File "/usr/lib/python2.6/dist-packages/django/contrib/admin/
> options.py" in change_view
>  833.                     self.save_formset(request, form, formset,
> change=True)
> File "/usr/lib/python2.6/dist-packages/django/contrib/admin/
> options.py" in save_formset
>  563.         formset.save()
> File "/usr/lib/python2.6/dist-packages/django/forms/models.py" in save
>  522.         return self.save_existing_objects(commit) +
> self.save_new_objects(commit)
> File "/usr/lib/python2.6/dist-packages/django/forms/models.py" in
> save_new_objects
>  657.             self.new_objects.append(self.save_new(form,
> commit=commit))
> File "/usr/lib/python2.6/dist-packages/django/forms/models.py" in
> save_new
>  760.             obj.save()
> File "/usr/lib/python2.6/dist-packages/django/db/models/base.py" in
> save
>  410.         self.save_base(force_insert=force_insert,
> force_update=force_update)
> File "/usr/lib/python2.6/dist-packages/django/db/models/base.py" in
> save_base
>  483.                     values = [(f, f.get_db_prep_save(raw and
> getattr(self, f.attname) or f.pre_save(self, True))) for f in
> meta.local_fields if not isinstance(f, AutoField)]
> File "/usr/lib/python2.6/dist-packages/django/db/models/fields/
> files.py" in pre_save
>  252.             file.save(file.name, file, save=False)
> File "/usr/lib/python2.6/dist-packages/django/db/models/fields/
> files.py" in save
>  91.         self.name = self.storage.save(name, content)
> File "/usr/lib/python2.6/dist-packages/django/core/files/storage.py"
> in save
>  47.         name = self._save(name, content)
> File "/usr/lib/python2.6/dist-packages/django/core/files/storage.py"
> in _save
>  167.                     fd = os.open(full_path, os.O_WRONLY |
> os.O_CREAT | os.O_EXCL | getattr(os, 'O_BINARY', 0))
>
> Exception Type: OSError at /admin/product/product/1/
> Exception Value: (13, 'Permission denied')
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to