[mythtv-users] Directory not writeable

Hika van den Hoven hikavdh at gmail.com
Tue Nov 3 13:05:49 UTC 2015


Hoi Stephen,

Tuesday, November 3, 2015, 1:55:09 PM, you wrote:

> On Tue, 03 Nov 2015 09:49:43 -0000, you wrote:

>>On Tue, 03 Nov 2015 03:48:36 -0000, Stephen Worthington  
>><stephen_agent at jsw.gen.nz> wrote:
>>
>>>
>>> storagegroup.cpp:763 (CheckAllStorageGroupDirs) SG(Default_crw-pvr):
>>> Group 'Default_crw-pvr' wants to use directory
>>> '/mnt/rec1/crw-pvr_recordings/', but this directory is not writeable.
>>>
>>
>>The code is trying to create/open the file  
>>"/mnt/rec1/crw-pvr_recordings/.test".
>>
>>Does the file already exist but isn't accessible ?

> That was it!  Excellent catch, Roger.  In each of the directories, I
> found a .test file, created at 19:52 on 1-Nov-2015.  I deleted them
> all and restarted the backend and the error messages have gone away.
> So it looks like something happened to the backend that caused it to
> not be able to delete the .test files originally when they were first
> created, and since then because they already existed, the test it does
> of creating them was failing.
> _______________________________________________

This could be because they were not owned by the mythuser. Recordings
are normally created with rw-r----- rights. I don't know of those
.test files. Unless specified if the owner of the directory is root,
the file could get owned by root. So while they could get created,
they then could not get deleted. So do set ownership of the
directories to the mythuser/group!



Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list