Hello!
I use Fedora 34 Design Suite.
Plex don’t see my video folders.
How to repair “safely”?
Thx help!
Hello!
I use Fedora 34 Design Suite.
Plex don’t see my video folders.
How to repair “safely”?
Thx help!
The subfolders generally get created when you log in the first time on the machine you installed plex.
Maybe a file permissions and acces:
See Permission and Access…
Our first big problem (although it’s not really) is to allow Plex to access any of our files. PMS runs as it’s own user (surprisingly a user called plex), not you by default. So we need to give that user access to your files. The easiest way to do this is to add the plex user to your group. Type the following command in a terminal to do just that, remembering to replace bdavis with your username.
sudo gpasswd -a plex $USER
HTH Regards.,
Thx, but not works on my home folder.
maybe right permission, please check:
Now that’s done you can chmod
the directory (or directories) in which you keep all your files 755 to allow plex to read them. You can do that with the following command, again make sure you change the directory to match wherever your files are.
Regards…,
If you do it as root user you have to use : gpasswd -a plex dankahazi
If you are logged in as dankahazi
use : sudo gpasswd -a plex $USER
Check it with : groups plex
, it should show dankahazi
as a group.
Just after check the rights … as @hhlp mentioned.
gpasswd -a plex dankahazi
If you are logged in asdankahazi
use :sudo gpasswd -a plex $USER
I understood first
Check:
groups plex
plex : plex video dankahazi
Did you log out and restart the plex media server ?
Yes, restart plex server and restart Fedora.
I haven’t seen the permissions. Adding a user to a group is super fine, but if that group does not have the access permitted, it will not help anyway.
Please navigate to /home/dankahazi
and run ls -a
and put the output here, please.
ls -a output
. Dropbox .nv
… .dropbox-dist .nvidia-settings-rc
Asztal .dvdcss Nyilvános
.bash_history .esd_auth .pki
.bash_logout .fonts .popout3d
.bash_profile .ghidra .putty
.bashrc git Sablonok
.cache .gnome .ssr
.config .http-status-indicator.txt .steam
.conky .java .steampath
.conkyrc Képek .steampid
.conkyrc.save kernel-tests .stellarium
.conkyrc.save.1 .lesshst torrent
.conkyrc.save.2 Letöltések torrent-tmp
.conkyrc.save.3 .local .var
.conkyrc.save.4 .MakeMKV Videók
.conkyrc.save.5 motion .waifu2x
Dokumentumok .mozilla Zenék
.dropbox .Natron .zenmap
ls -a output
I haven’t seen the permissions.
Better would be ls -ahld && ls -ahl
(-h=human readable -l=list -d=directory) we like to see the permissions like this:
-rw-rw-r--. 1 ilikelinux ilikelinux 54 Jun 8 2020 .profile
Please paste it in to Pre formatted text (see </>
in menu bar). You can edit your replay while clicking on the pen.
Ok,
[dankahazi@fedora34ds ~]$ ls -ahld && ls -ahl
drwx------. 1 dankahazi dankahazi 994 ápr 20 15.44 .összesen 80K
drwx------. 1 dankahazi dankahazi 994 ápr 20 15.44 .
drwxr-xr-x. 1 dankahazi dankahazi 6 ápr 16 10.30 Asztal
-rw-------. 1 dankahazi dankahazi 7,8K ápr 22 07.16 .bash_history
-rw-r--r--. 1 dankahazi dankahazi 18 2020 júl 27 .bash_logout
-rw-r--r--. 1 dankahazi dankahazi 141 2020 júl 27 .bash_profile
-rw-r--r--. 1 dankahazi dankahazi 376 2020 júl 27 .bashrc
drwx------. 1 dankahazi dankahazi 1,2K ápr 16 20.54 .cache
drwxr-xr-x. 1 dankahazi dankahazi 1,2K ápr 22 06.09 .config
drwxr-xr-x. 1 dankahazi dankahazi 196 márc 29 10.25 .conky
-rw-r--r--. 1 dankahazi dankahazi 4,7K ápr 15 20.27 .conkyrc
-rw-------. 1 dankahazi dankahazi 3,8K ápr 1 18.51 .conkyrc.save
-rw-r--r--. 1 dankahazi dankahazi 4,6K ápr 1 18.51 .conkyrc.save.1
-rw-------. 1 dankahazi dankahazi 0 ápr 2 11.48 .conkyrc.save.2
-rw-r--r--. 1 dankahazi dankahazi 4,6K ápr 2 11.48 .conkyrc.save.3
-rw-------. 1 dankahazi dankahazi 0 ápr 2 12.41 .conkyrc.save.4
-rw-r--r--. 1 dankahazi dankahazi 4,7K ápr 2 12.41 .conkyrc.save.5
drwxr-xr-x. 1 dankahazi dankahazi 2,1K ápr 15 13.05 Dokumentumok
drwx------. 1 dankahazi dankahazi 228 ápr 22 06.05 .dropbox
drwx------. 1 dankahazi dankahazi 1,4K ápr 22 06.05 Dropbox
drwxrwxr-x. 1 dankahazi dankahazi 88 ápr 14 12.29 .dropbox-dist
drwxr-xr-x. 1 dankahazi dankahazi 242 febr 23 23.20 .dvdcss
-rw-------. 1 dankahazi dankahazi 16 febr 15 06.09 .esd_auth
drwxr-xr-x. 1 dankahazi dankahazi 106 márc 9 08.56 .fonts
drwxr-x---. 1 dankahazi dankahazi 40 ápr 7 07.31 .ghidra
drwxr-xr-x. 1 dankahazi dankahazi 48 ápr 9 10.52 git
drwx------. 1 dankahazi dankahazi 8 febr 15 12.26 .gnome
-rw-r--r--. 1 dankahazi dankahazi 50 febr 15 18.50 .http-status-indicator.txt
drwxr-xr-x. 1 dankahazi dankahazi 30 márc 30 16.08 .java
drwxr-xr-x. 1 dankahazi dankahazi 5,0K ápr 13 09.19 Képek
drwxrwxr-x. 1 dankahazi dankahazi 328 ápr 18 08.10 kernel-tests
-rw-------. 1 dankahazi dankahazi 20 ápr 18 21.49 .lesshst
drwxr-xr-x. 1 dankahazi dankahazi 1,9K ápr 19 19.15 Letöltések
drwx------. 1 dankahazi dankahazi 10 febr 15 06.09 .local
drwxr-xr-x. 1 dankahazi dankahazi 104 febr 20 07.09 .MakeMKV
drwxr-xr-x. 1 dankahazi dankahazi 0 ápr 21 18.32 motion
drwxr-xr-x. 1 dankahazi dankahazi 86 febr 15 06.13 .mozilla
drwxr-xr-x. 1 dankahazi dankahazi 0 ápr 16 20.08 .Natron
drwx------. 1 dankahazi dankahazi 24 febr 15 08.21 .nv
-rw-r--r--. 1 dankahazi dankahazi 1,7K ápr 16 20.21 .nvidia-settings-rc
drwxr-xr-x. 1 dankahazi dankahazi 0 febr 15 06.09 Nyilvános
drwx------. 1 dankahazi dankahazi 10 febr 15 06.24 .pki
drwxr-xr-x. 1 dankahazi dankahazi 0 ápr 1 00.32 .popout3d
drwx------. 1 dankahazi dankahazi 42 ápr 6 07.46 .putty
drwxr-xr-x. 1 dankahazi dankahazi 0 febr 15 06.09 Sablonok
drwxr-xr-x. 1 dankahazi dankahazi 92 ápr 11 14.46 .ssr
drwxr-xr-x. 1 dankahazi dankahazi 148 ápr 19 23.01 .steam
lrwxrwxrwx. 1 dankahazi dankahazi 34 ápr 19 22.57 .steampath -> /home/dankahazi/.steam/sdk32/steam
lrwxrwxrwx. 1 dankahazi dankahazi 32 ápr 19 22.57 .steampid -> /home/dankahazi/.steam/steam.pid
drwxr-xr-x. 1 dankahazi dankahazi 54 ápr 6 20.45 .stellarium
drwxr-xr-x. 1 dankahazi dankahazi 324 ápr 10 22.24 torrent
drwxr-xr-x. 1 dankahazi dankahazi 298 ápr 10 22.24 torrent-tmp
drwxr-xr-x. 1 dankahazi dankahazi 6 febr 15 07.36 .var
drwxr-xr-x. 1 dankahazi dankahazi 4,2K ápr 20 20.01 Videók
drwxr-xr-x. 1 dankahazi dankahazi 486 ápr 16 20.33 .waifu2x
drwxr-xr-x. 1 dankahazi dankahazi 1,2K ápr 1 09.21 Zenék
drwxr-xr-x. 1 dankahazi dankahazi 162 ápr 18 07.07 .zenmap
drwx------. 1 dankahazi dankahazi 994 ápr 20 15.44 .
d = directory; rwx=reed,write,execute (for your user); — —= indicates that (group & all have absolutely no rihgts)
chmod -R 755 /home/dankahazi (You just have 700 now)
https://www.linux.com/training-tutorials/understanding-linux-file-permissions/
Yeah, although the permissions on particular directories in the home
folder look good, the permissions for the entire home
directory prevent anything from seeing inside it.
The above comment should be the first step to take, @idanka
chmod -R 755 /home/dankahazi
omg thx
I had not thought about that
from the guide:
Now that’s done you can chmod the directory (or directories) in which you keep all your files 755 to allow plex to read them. You can do that with the following command, again make sure you change the directory to match wherever your files are.
chmod -R 755 /home/example
Regards.,
Will a change like this affect sensitive files like ssh private keys under ~/.ssh ?
Of course it is better to give the 755 selective just to the Media Folders. But you saw that it is not easy help to someone and explain every detail.
In the other hand i would not use private SSH keys on a media server. The public one is ok … just put a passphrase to secure it.