|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SagTV v9 Linux permissions
I have SageTV installed on three systems. Two linux, one Win 7.
On one linux system, call it System A, I can view live TV with the miniclient. I can view live TV from the server on the Win 7 system, and also from System B. On System B, I can't see my own server's output but can watch System A and the win7 box. I just get a black screen with a revolving arrow. I believe the server is OK because I can watch the recorded files with ffmpeg, just not live TV with the miniclient., except from another system. One difference between the systems is that on System B, /var/media/tv is a mounted ext4 directory. On System A (the working one), /var/media/tv is a symbolic link to an NTFS filesystem on a separate drive, a relic of dual-booting with windows. I'm thinking that ext4 file permissions are preventing the miniclient from reading a file. Both Linux machines are running 9.2.2.268 from https://dl.bintray.com/opensagetv/sa...2_amd64.tar.gz Both are HVR-1600's, but possibly different models, yet the recordings of both are fine. What file permissions are recommended? I think that may be what the problem is. System A is a Phenom II X6. System B is a Ryzen 2700X. |
#2
|
|||
|
|||
Is my understanding there correct?
Running the miniclient on A can see recordings from A, B, and Win7. Running the miniclient on B can't see B's recordings, but can see recordings from A and Win7. You are correct it might be that you are running the miniclient as a different user than the sage process and that user doesn't have access to the files. (Although that would mean a local miniclient is accessing the files directly, which I didn't realize...) When on B, as the user who runs the miniclient, what is the output when you run this in the terminal: Code:
ls -la /var/media/tv Code:
ls -lad /var/media ls -lad /var/media/tv --John |
#3
|
|||
|
|||
Looks suspicious!
$ ssh tony@msi tony@MSI ~ $ ls -la /var/media/tv lrwxrwxrwx 1 root root 13 Jul 7 19:25 /var/media/tv -> /video/SageTV tony@MSI ~ $ ls -lad /var/media drwxr-xr-x 7 root root 4096 Jul 7 19:25 /var/media tony@MSI ~ $ tony@MSI ~ $ ls -lad /var/media/tv lrwxrwxrwx 1 root root 13 Jul 7 19:25 /var/media/tv -> /video/SageTV |
#4
|
|||
|
|||
However on A:
$ ls -la /var/media/tv lrwxrwxrwx 1 root root 17 Dec 5 2019 /var/media/tv -> /mnt/video/SageTV tony@Casti ~ $ ls -lad /var/nedia ls: cannot access '/var/nedia': No such file or directory tony@Casti ~ $ ls -la /var/media/tv lrwxrwxrwx 1 root root 17 Dec 5 2019 /var/media/tv -> /mnt/video/SageTV tony@Casti ~ $ ls -la /var/media total 28 drwxr-xr-x 7 root root 4096 Dec 5 2019 . drwxr-xr-x 15 root root 4096 Oct 27 2019 .. drwxr-xr-x 7 root root 4096 Sep 1 2019 external drwxr-xr-x 3 root root 4096 Jul 17 2019 mnt drwxrwxrwx 2 root root 4096 Oct 11 2015 music drwxrwxrwx 2 root root 4096 Oct 11 2015 pictures lrwxrwxrwx 1 root root 17 Dec 5 2019 tv -> /mnt/video/SageTV drwxrwxrwx 2 root root 4096 Oct 11 2015 videos tony@Casti ~ $ ls -la /var/media/tv lrwxrwxrwx 1 root root 17 Dec 5 2019 /var/media/tv -> /mnt/video/SageTV |
#5
|
|||
|
|||
Quote:
What are the permissions on /video/SageTV? Code:
ls -lad /video/SageTV Code:
ls /video/SageTV --John |
#6
|
|||
|
|||
ony@MSI ~ $ ls -lad /video/SageTV
drwxrwxrwx 7 nobody nobody 49152 Jul 12 16:58 /video/SageTV tony@MSI ~ $ ls /video/SageTV AlfredHitchcockPresents-S02E12-RoseGarden-388362-0.mpg AndThenThereWereNone-S01E03-1935604-0.mpg AnimalBabiesFirstYearonEarth-S01E03-NewFrontiers-1590833-0.mpg AuroraFireintheSky-2097830-0.mpg BarneyMiller All 777 (NTFS) |
#7
|
|||
|
|||
Ok, so I'm not sure what's going on then.
--John |
#8
|
|||
|
|||
Thanks for trying.
|
#9
|
|||
|
|||
Got smart and turned on the log.
Sat 7/18 16:39:28.965 Ignoring resize command because it exceeds video dimensions rect=java.awt.Rectangle[x=0,y=0,width=720,height=480] videoDim=java.awt.Dimension[width=0, height=0] Earlier in the log: Type size error: sizeof(jint) < sizeof(size_t) Type size error: sizeof(jint) < sizeof(ssize_t) Type size error: sizeof(jint) < sizeof(ino_t) Type size error: sizeof(jint) < sizeof(nlink_t) Type size error: sizeof(jint) < sizeof(blksize_t) Type size error: sizeof(jint) < sizeof(nfds_t) Type size error: sizeof(jint) < sizeof(msgqnum_t) Type size error: sizeof(jint) < sizeof(msglen_t) Type size error: sizeof(int) < sizeof(ino_t) JTUX: We are running in 64bit mode, and JTUX is untested in 64bit mode. There may be side effects.height=0] Does that mean my picture has zero size or that I'm trying to resize it to zero? |
#10
|
|||
|
|||
I now have video! Problem was that the system ncurses went to version 6. I had to install ncurses-compat version 5 to retrieve libtinfo.so.5 Version 6 had installed libtinfo.so.6 Now I have both.
Although I know have live video I still have two problems: 1. Sage thinks I have a 720 x480 screen and won't expand it even when I put the client in full screen mode. The client is full screen 1920x1080 but the video playing is still small. 2. The video falters and freezes and unlocks, although the audio continues fine. Possibly this is a card problem. Last edited by ASegredo; 09-14-2020 at 10:47 AM. Reason: spelling |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Permissions and Watched Status | joshuad156 | SageTV Software | 3 | 12-27-2011 12:06 AM |
Permissions question | apschaefer | SageTV Beta Test Software | 3 | 06-13-2011 07:41 PM |
Permissions and Metadata | ptzink | SageTV Beta Test Software | 2 | 06-13-2011 06:50 AM |
Permissions in registry | talonmike | SageTV Software | 24 | 02-11-2007 10:36 PM |
Problems inputting data into SagTV from xmltv plugin | Gibby | SageTV EPG Service | 13 | 08-10-2003 08:29 AM |