mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2025-10-26 18:53:39 +09:00
fix video perm error message
This commit is contained in:
@@ -301,6 +301,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **25.12.21:** - Fix video device group perms error message.
|
||||
* **22.09.21:** - Pull only the server, web and ffmpeg packages instead of the wrapper.
|
||||
* **23.06.21:** - Add log message if device permissions are incorrect. Deprecate the `bionic` tag.
|
||||
* **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
|
||||
|
||||
@@ -98,6 +98,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "25.12.21:", desc: "Fix video device group perms error message." }
|
||||
- { date: "22.09.21:", desc: "Pull only the server, web and ffmpeg packages instead of the wrapper." }
|
||||
- { date: "23.06.21:", desc: "Add log message if device permissions are incorrect. Deprecate the `bionic` tag." }
|
||||
- { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
|
||||
|
||||
@@ -13,7 +13,7 @@ do
|
||||
groupmod -g "$VIDEO_GID" "$VIDEO_NAME"
|
||||
fi
|
||||
usermod -a -G "$VIDEO_NAME" abc
|
||||
if [ $(stat -c '%A' "${i}" | cut -b 8,9) != "rw" ]; then
|
||||
if [ $(stat -c '%A' "${i}" | cut -b 5,6) != "rw" ]; then
|
||||
echo -e "**** The device ${i} does not have group read/write permissions, which might prevent hardware transcode from functioning correctly. To fix it, you can run the following on your docker host: ****\nsudo chmod g+rw ${i}\n"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user