Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#5481 closed defect (invalid)

Submitting media requires Lazyserver to be run as root

Reported by: chris Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

When attempting to upload files as Lazyserver is being run by the Mediagoblin user, an Unhandled Exception is returned and the upload fails. However, when lazyserver is run as Root user, uploading media succeeds.

So I assume I have a user permission problem. But I haven't been able to figure it out.

http://m.chrishancockart.com

Version 0.9 on Ubuntu 16.04.1 with Apache.

Lazyserver command: ./lazyserver.sh --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543

Change History (3)

comment:1 by Ben Sturmfels, 8 years ago

Hi teslas_moustache,

Thanks very much for taking the time to raise an issue.

It sounds like the MediaGoblin user doesn't have the necessary write permissions on the user_dev directory and its subdirectories. This probably isn't strictly a bug in MediaGoblin, but it may be that the documentation could be made clearer. It would help if you could:

  1. Upload a copy of the full error message produced (probably many lines)
  2. Tell us which user on your system is running the ./lazyserver.sh command
  3. Provide an ls -la on your mediagoblin/user_dev directory

For more interactive help, please feel free to drop into the #mediagoblin IRC channel.

Cheers,
Ben

comment:2 by Ben Sturmfels, 7 years ago

Resolution: invalid
Status: newclosed

Hi teslas_moustache,

We haven't heard back from you, so I'll go ahead and close this ticket as it's likely that this isn't a bug in GNU MediaGoblin. We'd still be happy to hear if you had feedback about ways to improve the documentation - don't hesitate to reopen this ticket and add further comments if you do.

Cheers,
Ben

comment:3 by Ben Sturmfels, 7 years ago

teslas_moustache: It looks as though you're not receiving notifications from the issue tracker. If you would like to enable these, log in and add an email address to your account.

Note: See TracTickets for help on using tickets.