/run seems not to have correct rights

未关闭
#457 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
docker
领域
devops

调研方向

首先检查容器如何创建 /run/plex-temp 并设置权限,然后使用 Portainer 中的最新镜像通过 docker restart plex 重现问题。将得到的权限与报告中的解决方法 chmod 755 /run 进行比较,并验证 Plex 是否能在不因权限被拒而崩溃的情况下启动。

由索引模型根据 Issue 内容生成。

描述

invalid no-issue-activity
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.
主要语言
Dockerfile
星标
1.4k
派生
228
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxserver/docker-plex 的其他 Issue

查看 linuxserver/docker-plex 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。