plex- can't implement library's correctly
-
- OMV 5.x
- daniel0319
-
-
Root ownership of files and folders in this context is always a huge red flag.
That's out of the box behavior for a mountpoint directory only, and that's the way it should be. Anything below that, as the OP has shown, is completely improper and indicates (to me) that the user was running (something) as root when those directories were created.
Depends on wether or not he added it the folders via Samba or via the webgui. Also if he used the reset permisions plugin all files would belong to root:users, too.
Greetings
David
-
Okay so what should I do now?
-
What are the permissions of the files in the folder Filme, for example?
-
What are the permissions of the files in the folder Filme, for example?
Here you go:
I have no idea what I should read out of this. Maybe you could tell me something about it, so I understand it a bit more?
-
Not of the folder Filme, but of the files inside the folder
-
I have no idea what I should read out of this. Maybe you could tell me something about it, so I understand it a bit more?
Have a look at this post and the next next one
-
-
So members of the group users have read/write access.
I am running out of ideas.
-
Which PUID and PGID did you specify?
-
So members of the group users have read/write access.
I am running out of ideas.
Having read/write access to a directory does not mean that the file(s) within it can be read. And he hasn't shown the ownership and permissions of the files within yet.
-
Shit, did not realize, that it was only directories in the last screenshot.
-
Having read/write access to a directory does not mean that the file(s) within it can be read. And he hasn't shown the ownership and permissions of the files within yet.
Okay so you need Info about the permissions of the files right?
Which PUID and PGID did you specify?
PUID 1000
PGID 1000
-
Yes, post file permissions.
Your PUID and PGID. Where did you get the number 1000 from? Do you have a real user and group on your system with those values or did you just copy them from some video or howto?
-
Group users is PGID 100 on OMV.
It seems you have only three users on your system. You can get PUID and PGID of these users on the CLI with
id NameOfUser eg id pi
-
Yes, post file permissions.
This. But seeing that all your folders have a chmod of 777 + ACLs my guess is so do your files. So, even if the PUID and PGID are wrong that should still work.
Another Question: Did you even add the /tv /filme etc. folders to your library in plex?
Greetings
David
-
This. But seeing that all your folders have a chmod of 777 + ACLs my guess is so do your files. So, even if the PUID and PGID are wrong that should still work.
The permissions on a folder have nothing to do with the permissions on any files within that folder. "Guessing" about this isn't going to solve anything. Posting the file permissions might.
I don't think the OP understands what I said in post #9, and if not he or she needs to obtain that understanding.
-
The permissions on a folder have nothing to do with the permissions on any files within that folder.
That is true. But that doesn't keep me from making the asumption that he maybe resetted via the reset-permissions plugin and thus the files are 777 or 666 respective, too. But you're right, it doesn't net us anything for now.
I don't think the OP understands what I said in post #9, and if not he or she needs to obtain that understanding.
While I can understand that you see a red flag if a path is owned by root, I don't care about it as long as it also belongs to the users group, which, according to his screenshots, it does. This is especially true if he just did a reset of the permissions. But, lets see what the files of him have as permission and if he even added the folders inside the container to the library.
Greetings
David
-
While I can understand that you see a red flag if a path is owned by root, I don't care about it as long as it also belongs to the users group, which, according to his screenshots, it does.
Greetings
David
Too bad OMV's user group is 100 and he is running the container with PGID 1000. Does that group even exist on the OP's system?
Does the OP have a user 1000 on the system? Who knows, but the container is running as that user.
This matters.
My post #9 was about a whole lot more than a folder being owned by root. It was about the number one by far problem with Plex, which is permissions and ownership of user media, combined with inexperienced Linux users, and further complicated by docker.
-
Too bad OMV's user group is 100 and he is running the container with PGID 1000. Does that group even exist on the OP's system?
Just for the fun: 5 bucks that his files are - at least - readable by other. You're right though, his setup is patchy. But nevertheless it should start building a library already. Even if he setup plex to write mediainfo into the media path, that should still work. So my guess is the same as yours: the lack of docker knowledge and that he needs to add the volumes to his library. That the misconfiguration will lead to other issues? Probably. My thought just was, that, as patchy as it is, it should already start dooing something.
Greetings
David
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!