PDA

View Full Version : MythVideo Covers through mythweb: permission


Dumdideldum
July 23rd, 2008, 10:35 AM
I am facing problems whenever I upload a cover through mythweb for my videos (mythvideo). The Cover gets shown in mythweb, but it isn't shown in mythtv itself, until I chmod the cover file from 700 (www-data) to 777, so that the user mythv can read it too.

Is there any possibility to let www-data (which runs apache) write the cover file to 777 or 755 (assuming mythtv is in www-data group), so that the user mythtv can read it afterwards without the need of chmod ?

thx a lot

Weidbrewer
July 26th, 2008, 04:54 PM
I'm having the same issue. Figured that I'd post to bump this up for you. But yeah, basically my problem is that I can't assign covers and have them stick when done in MythWeb.

Dumdideldum
September 3rd, 2008, 08:10 AM
another bump - anyone got an idea ?

SiHa
September 3rd, 2008, 08:28 AM
How about a cron job that periodically just doeschmod 777 /path/to/covers/*
??

A bit dirty, but it would probably work...

...wouldn't it?

Dumdideldum
September 3rd, 2008, 08:36 AM
yes sure it would, but I look forward to filing a ticket if this problem doesn't just affect me (or one or two other guys) - so, any others who are facing the same problem ?

The file created through mythweb is definitely 600, so even adding the user running frontend to the www-data group doesn't solve this issue.