Closed
Bug 604810
Opened 15 years ago
Closed 15 years ago
OSError: permission denied when uploading image on master.support
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: paulc, Assigned: fox2mike)
Details
Probably just need write permissions for the user running the webthread.
Traceback (most recent call last):
File "/data/www/master.support.mozilla.com/kitsune/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/master.support.mozilla.com/kitsune/vendor/src/django/django/contrib/auth/decorators.py", line 25, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/data/www/master.support.mozilla.com/kitsune/vendor/src/django/django/views/decorators/http.py", line 37, in inner
return func(request, *args, **kwargs)
File "/data/www/master.support.mozilla.com/kitsune/apps/upload/views.py", line 38, in up_image_async
file_info = upload_imageattachment(request, obj)
File "/data/www/master.support.mozilla.com/kitsune/apps/upload/utils.py", line 56, in upload_imageattachment
create_imageattachment, obj=obj)
File "/data/www/master.support.mozilla.com/kitsune/apps/upload/utils.py", line 73, in upload_media
return up_file_callback(request.FILES, request.user, **kwargs)
File "/data/www/master.support.mozilla.com/kitsune/apps/upload/utils.py", line 32, in create_imageattachment
image.file.save(up_file.name, File(up_file), save=True)
File "/data/www/master.support.mozilla.com/kitsune/vendor/src/django/django/db/models/fields/files.py", line 92, in save
self.name = self.storage.save(name, content)
File "/data/www/master.support.mozilla.com/kitsune/vendor/src/django/django/core/files/storage.py", line 48, in save
name = self._save(name, content)
File "/data/www/master.support.mozilla.com/kitsune/vendor/src/django/django/core/files/storage.py", line 165, in _save
fd = os.open(full_path, os.O_WRONLY | os.O_CREAT | os.O_EXCL | getattr(os, 'O_BINARY', 0))
OSError: [Errno 13] Permission denied: '/data/www/master.support.mozilla.com/kitsune/media/uploads/images/Screen_shot_2010-06-08_at_3.38.08_PM.png'
Updated•15 years ago
|
Summary: OSError: permission denied when uploading image to questions → OSError: permission denied when uploading image on master.support
Comment 1•15 years ago
|
||
do you happen to know which server this is hosted on? I'm having trouble finding it on the load balancer
Updated•15 years ago
|
Assignee: server-ops → justdave
| Assignee | ||
Comment 2•15 years ago
|
||
dm-app-sumo01, apache can write there now.
Assignee: justdave → shyam
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•