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 … 12 13 14 15 16 … 34 Next »
File permissions

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

Posting Freak

Marion Iowa, USA
Posts: 1,838
Threads: 177
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
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
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,838
Threads: 177
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
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
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
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
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
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
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
  file name strategy kfmf 10 565 2024-11-15, 09:45 PM
Last Post: mvallevand
  folder location XMLTV file [LibreElec] retrofan 2 464 2024-08-22, 08:32 AM
Last Post: retrofan
  updated DVB-C tuning file for SAT>IP The Netherlands and question retrofan 30 2,914 2024-08-17, 07:58 PM
Last Post: retrofan
  Congog file keeps changing WagMan 3 536 2024-01-06, 02:21 PM
Last Post: WagMan
  Timing file 0 byte VCR58 13 1,741 2023-07-27, 02:57 AM
Last Post: mvallevand
  xmltv file not being read JogG 1 503 2023-07-01, 03:11 PM
Last Post: mvallevand
  file naming (renaming) strategy / recordings (movie) kfmf 22 2,495 2023-05-15, 07:19 PM
Last Post: mvallevand
  LibreElec file locations jcjefferies 24 2,982 2023-01-27, 05:32 PM
Last Post: jcjefferies
  Config File kevin-pvr 8 1,893 2022-12-11, 11:22 PM
Last Post: kevin-pvr
  Fresh Xubuntu Install with Tuner Issues (or permissions issues?) larrybari 13 2,698 2022-11-16, 04:27 AM
Last Post: larrybari

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

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

Linear Mode
Threaded Mode