[mythtv-users] mythtv-setup: trailing "/" while setting up Storage Groups

Michael T. Dean mtdean at thirdcontact.com
Wed Sep 9 07:26:02 UTC 2009


<fixed top posting>

On 09/09/2009 03:07 AM, Sebastian Singer wrote:
> Am Mittwoch, den 09.09.2009, 18:43 +1200 schrieb Nick Rout:
>   
>> On Wed, Sep 9, 2009 at 6:39 PM, Sebastian Singer wrote:
>>     
>>> I am trying to reset my Storage Groups in mythtv-setup. But every time I
>>> type the path without a closing "/" mythtv sets a trailing "/" at the
>>> end by itself. So no changes can be made because mythtv complains for
>>> not knowing the specified directory. For example my recordings lie in
>>> "/multimedia/mythtv/recordings" (without "/"). MythTV changes this to
>>> "/multimedia/mythtv/recordings/" (with "/"). After that Mythtv
>>> complains: Cannot write file /multimedia/mythtv/recordings//.test
>>> (notice the double // in path name !)
>>>
>>> So how do I get rid of this trailing "/"?
>>>       
>> generally linux doesn't complain about multiple /'s so thats not
>> likely to be the problem. Looks more like the myth backend user
>> doesn't have permission to write to /multimedia/mythtv/recordings.
>> Check permissions.
> I have done
>
> # chown -R mythtv:video /multimedia/mythtv
>
> and
>
> # chmod -R 777 /multimedia/mythtv
>
> No changes, problem remains.

As Nick said, it's not the trailing "/"--that's done on every MythTV 
installation that uses Storage Groups (the trailing slash is actually 
required to exist on the value in the DB).

So, something else is preventing writing.  It could be anything from 
SELinux or similar causing problems, to bad permissions (not running as 
the user you think it is or NFS and differing uid/gid on the different 
systems or ...), to ACL's.

Mike


More information about the mythtv-users mailing list