← Back to team overview

mythbuntu-bugs team mailing list archive

Re: [Bug 584701] Re: Cannot delete videos from MythTV

 

On Sat, May 7, 2011 at 3:51 PM, Antonio Lopez <584701@xxxxxxxxxxxxxxxxxx> wrote:
> El Sábado 07 Mayo 2011, escribió:
>> The difference is that recordings are created by mythtv, one would
>> expect it to be able to delete the recordings. Video files are placed
>> there by something else. If the delete option in the menu in mythvideo
>> didn't exist, would you even expect to be able to delete videos?
>
> But the thing is that it does exist. And I expect to be allowed to use it
> properly without any "obscure" tweaking. After all that is the purpose of a
> distro like Mythbuntu: easying the use of a complex system like MythTV.
> Mythbuntu is not a nuclear-plant-aimed distro but a PVR one. Of course
> security is a must but IMHO it should not get in the user's way.
>
> I would agree with you if the Videos folder were user-created but it is a
> default in Mythbuntu, and specifically created by the Mythbuntu team to hold
> videos to be watched within MythTV! So I don't think to be far from most of
> the other users when I expect the system to behave consistently out-of-the-
> box.
>

I don't think setting the correct permissions for a file would be
considered "obscure" tweaking. Please explain to me how if you copy a
file with 644 permissions that is owned by the user (not mythtv) why
you would expect to be able to delete it by the mythtv user?

>>
>> I see two possible resolutions. One could create a utility to adjust the
>> permissions when moving the file to the proper directory. As others have
>> pointed out though, a cron job works and seems to be of an out of the
>> way solution. I'd accept a way of doing it via cron job, but it's not
>> something that i'd put in by default. The script that runs via cron
>> would need to
>>
>> A) Be activatable via MCC
>> B) Check mythvideo storage groups
>> C) Set permissions to 644
>
> I set a cron job as a walkaround but for sure it is not the optimal solution.
> What about just asking the user (via a MCC option) whether permanently setting
> permissions to 664 or not? Of course, warning about potential security issues
> (which I don't think shall be too frightening anyway ;-) ).
>
> Regards,
> Antonio
>

Please let me know what I can do to "permanently setting permissions
to 664". It sounds like since you have the cron job as a "workaround"
that you don't know how to do this either. Really though, if you know
how to do this I may be interested in setting this as a default
configuration.

Thomas


Follow ups

References