mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2026-01-23 02:14:30 +00:00
fix video perm error message
This commit is contained in:
parent
a87e789bc7
commit
39d6a2091e
3 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue