/run seems not to have correct rights
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- docker
- Domain
- devops
Research direction
Start by inspecting how the container creates and permissions /run/plex-temp, then reproduce with docker restart plex using the latest image in Portainer. Compare the resulting permissions with the reported chmod 755 /run workaround and verify that Plex starts without the permission-denied crash.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
1.43.2.10687-563d026ea
in container bash:
# namei -om /run/plex-temp
f: /run/plex-temp
drwxr-xr-x root root /
drwxr-xr-- root root run
drwxr-xr-x abc users plex-temp
and running:
chmod 755 /run
fixed it
just for info: running the plex image in portainer under OMV
Expected Behavior
No response
Steps To Reproduce
docker restart plex
and the permissions are gone again
Environment
- OS:
- How docker service was installed:
CPU architecture
x86-64
Docker creation
just using the latest image creation in portainer
Container logs
Starting Plex Media Server. . . (you can ignore the libusb_init error)
libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: 'boost::filesystem::status: Permission denied [system:13]: "/run/plex-temp"'
****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.43.2.10687-563d026ea/PLEX MEDIA SERVER/4a79c970-997c-40ff-6dbcb9a5-eca347d1.
- Dominant language
- Dockerfile
- Stars
- 1.4k
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxserver/docker-plex
-
no-issue-activity
Difficulty 1/5 Under an hour Newbie friendliness 92/100
linuxserver/docker-plex#458 · 2 comments ·
-
work-in-progress
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linuxserver/docker-plex#432 · 27 comments ·
All issues in linuxserver/docker-plex
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
vicharanashala/fln#564 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
haskell-actions/setup#152 ·
-
feature-request helm
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gravitational/teleport#69785 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
TencentCloud/Octop#1007 ·