mark directory in storagegroup as readonly

For discussion of topics specific to MythTV on linux
Post Reply
blubbersuelze
Newcomer
Posts: 7
Joined: Sat Dec 01, 2018 2:05 pm
Great Britain

mark directory in storagegroup as readonly

Post by blubbersuelze »

Is it possible to add a Directory/mountpoint into a storagegroup and mark it as read only?
So mythtv-setup didn't do a write test on the given Directory.
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: mark directory in storagegroup as readonly

Post by wesnewell »

I have no idea why someone would want to do this, but just set it up as a normal storage droup, and once done just change permissions on that dir to read only. man chown, man chmod, if you want to do it via terminal.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
blubbersuelze
Newcomer
Posts: 7
Joined: Sat Dec 01, 2018 2:05 pm
Great Britain

Re: mark directory in storagegroup as readonly

Post by blubbersuelze »

it's really simple.
Mount a nfs/cifs or another type of remote share to view Videos/hear music from.
And your Login has only read access.
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: mark directory in storagegroup as readonly

Post by wesnewell »

You don't need any shares for later versions of mythtv remotes. Yeah, I had to setup nfs shares 13 years ago when I started using mythtv, but that hasn't been needed for quite a while now. Upgrade to a newer version.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
blubbersuelze
Newcomer
Posts: 7
Joined: Sat Dec 01, 2018 2:05 pm
Great Britain

Re: mark directory in storagegroup as readonly

Post by blubbersuelze »

i am using v29.1 which is actually the newest release.

What do you mean with:
You don't need any shares for later versions of mythtv remotes.
I am talking about a Remoteshare i'm connecting to from the backend.

Here a symbolic structure of the Network connection:
SMB-Share (only read Access on share) -------(Network A)------ MythTV Backend -------(Network B)------ MythTV Frontends
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mark directory in storagegroup as readonly

Post by bill6502 »

To the original question, no. Internally, the storagegroup table has no read/write settings.

And to the statement after that: "So mythtv-setup didn't do a write test on the given Directory.":
You can ignore the error, as long as MythTV isn't expected to be able to write to that Storage
Directory.
Post Reply