NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 3 4 5 6 7 … 26 Next »
File permissions

 
  • 0 Vote(s) - 0 Average
File permissions
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,180
Threads: 127
Joined: Aug 2016
#1
2020-01-04, 06:03 PM
I was wondering what the file permission, owner, and group should be for nextpvr user data folder and sub folders? In my case the folder is located at the default location /var/opt/nextpvr. Somehow I messed up the permissions when restoring a backup of the folder and the nextpvr folder became inaccessible, even to view the contents.

Thanks,
Rex
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,374
Threads: 868
Joined: May 2006
#2
2020-01-04, 06:55 PM
Did you check this post https://forums.nextpvr.com/showthread.ph...#pid524823

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,180
Threads: 127
Joined: Aug 2016
#3
2020-01-04, 07:35 PM
(2020-01-04, 06:55 PM)mvallevand Wrote: Did you check this post https://forums.nextpvr.com/showthread.ph...#pid524823

Martin
Ok. I thought those settings were for any recording folders that were created by the user after installation. 

Mostly I'm interested in the folder where the npvr.db3 resides. I went ahead and changed the owner to nextpvr and the group to root then chmod the folder to 775. That seems to work OK but not sure what it should be.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,374
Threads: 868
Joined: May 2006
#4
2020-01-04, 07:56 PM
That linked script should reset /var/opt/nextpvr to the videos group which is probably better than root, but group nextpvr owner nextpvr works too. If you messed up permission make sure that you change files recursively too.

Martin
aimaim
Offline

Junior Member

Deutschland
Posts: 6
Threads: 1
Joined: Jul 2022
#5
2022-07-05, 06:48 PM (This post was last modified: 2022-07-05, 06:59 PM by aimaim.)
Hi there,

I'm a first time nextpvr user and I have the exact same problem when trying to record to an smb-share. The permissions are set correctly. I can write to the share as user nextpvr and the nextpvr-software can aswell, since it does create the ts- and ts.map-files. Yet they both have 0 bytes.

As soon as I try to play a running recording from the web interface it fails to play (the first time), but then it actually starts recording and the ts-file starts growing. This workaround naturally is no viable solution, but it might give some insight into what causes the issue.

Cheers aimaim
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,374
Threads: 868
Joined: May 2006
#6
2022-07-05, 07:00 PM
It could be Linux, or it could be the CIFS setting on the file server or in /etc/fstab but if it is not working the permissions are not set correctly.

However the second paragraph indicates that the files are growing, because of memory file management you can't trust the file size. On Linux you can even delete a file that open and it can still play if it was opened. Perhaps try playback with a direct play client.

Martin
aimaim
Offline

Junior Member

Deutschland
Posts: 6
Threads: 1
Joined: Jul 2022
#7
2022-07-05, 08:00 PM
Sorry, I got confused. I answered in the wrong thread. I meant to post here:
https://forums.nextpvr.com/showthread.ph...light=cifs
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,374
Threads: 868
Joined: May 2006
#8
2022-07-05, 08:05 PM (This post was last modified: 2022-07-05, 08:06 PM by mvallevand.)
In either thread, this doesn't sound exactly like a permissions issue. Create a new thread attaching the zipped NextPVR logs which show you starting the recording then let it record fro a few minutes and then cancel the recording.

Martin
aimaim
Offline

Junior Member

Deutschland
Posts: 6
Threads: 1
Joined: Jul 2022
#9
2022-07-05, 08:14 PM (This post was last modified: 2022-07-05, 08:17 PM by aimaim.)
(2022-07-05, 08:05 PM)mvallevand Wrote: In either thread, this doesn't sound exactly like a permissions issue.  Create a new thread attaching the zipped NextPVR logs which show you starting the recording then let it record fro a few minutes and then cancel the  recording.

Martin

You're way to fast for me. I already posted in the other thread  Undecided
I'll do that as soon as I figure out where to find the logs  Smile

Edit: Ok got it: /var/opt/nextpvr/logs/
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  LibreElec file locations jcjefferies 24 501 2023-01-27, 05:32 PM
Last Post: jcjefferies
  Config File kevin-pvr 8 232 2022-12-11, 11:22 PM
Last Post: kevin-pvr
  Fresh Xubuntu Install with Tuner Issues (or permissions issues?) larrybari 13 553 2022-11-16, 04:27 AM
Last Post: larrybari
  How to select dvb-c tunning file? oleDK 1 182 2022-08-12, 12:38 PM
Last Post: mvallevand
  Strange 'log' file ? ceejayemm 1 232 2022-04-08, 10:28 AM
Last Post: mvallevand
  stream file question bizzs 14 901 2021-10-15, 11:51 PM
Last Post: sub
  File based M3U and EPG (XML) brozelle 16 1,811 2021-04-29, 08:00 PM
Last Post: sub
  Arch x64 install fails ATSC scan ("status":"Error: No such file or directory") jwh7 18 3,935 2020-11-27, 05:52 PM
Last Post: jwh7
  Unable to detect xmltv.xml file needed for EPG EPSCREECH 2 1,205 2020-02-02, 10:00 AM
Last Post: EPSCREECH
  Log file size CDinger 2 839 2020-01-19, 03:11 PM
Last Post: CDinger

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode