[mythtv-users] Permissions on uploaded movie posters via mythweb

Ashley Bostock abostock at gmail.com
Thu Feb 7 14:32:28 UTC 2008


On 07/02/2008, Ashley Bostock <abostock at gmail.com> wrote:
>
> I'm having problems with the file permissions set on movie posters
> uploaded via mythweb.
>
> I've set the folder for my posters to be owned by www-data (apache user)
> with group as mythtv (sticky bit on).
> If I use the option that runs the IMDB script which automatically grabs
> the data and poster, then the image has the correct permissions (i.e. both
> mythweb and mythfrontend can read the file)...
> -rw-r--r-- 1 www-data mythtv
>
> For some movies a poster isn't found so I use the upload image feature in
> mythweb. However the permission are then set incorrectly (i.e.
> mythfrontend can't read the file)...
> -rw------- 1 www-data www-data
>
> Does the IMDB script download the file straight to the posters folder,
> where as the uploader sticks it in a temp folder and then moves it
> afterwards, thus causing the different permissions?
>
> How do I get around this problem?
>
> Thanks,
> Ash
>
>
>

"I've set the folder for my posters to be owned by www-data (apache user)
with group as mythtv (sticky bit on)."
Sorry didn't mean sticky bit, meant setgid flag.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080207/e41fac3b/attachment.htm 


More information about the mythtv-users mailing list