Skip to content

Commit 9df379b

Browse files
authored
Merge pull request #134 from linuxserver/master-gid
2 parents a87e789 + 39d6a20 commit 9df379b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
304304

305305
## Versions
306306

307+
* **25.12.21:** - Fix video device group perms error message.
307308
* **10.12.21:** - Rework readme, disable template sync.
308309
* **22.09.21:** - Pull only the server, web and ffmpeg packages instead of the wrapper.
309310
* **23.06.21:** - Add log message if device permissions are incorrect. Pin jellyfin dependency versions to prevent upstream apt repo issues. Deprecate the `bionic` tag.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ unraid_template_sync: false
117117

118118
# changelog
119119
changelogs:
120+
- { date: "25.12.21:", desc: "Fix video device group perms error message." }
120121
- { date: "10.12.21:", desc: "Rework readme, disable template sync." }
121122
- { date: "22.09.21:", desc: "Pull only the server, web and ffmpeg packages instead of the wrapper." }
122123
- { date: "23.06.21:", desc: "Add log message if device permissions are incorrect. Pin jellyfin dependency versions to prevent upstream apt repo issues. Deprecate the `bionic` tag." }

root/etc/cont-init.d/40-gid-video

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ do
1313
groupmod -g "$VIDEO_GID" "$VIDEO_NAME"
1414
fi
1515
usermod -a -G "$VIDEO_NAME" abc
16-
if [ $(stat -c '%A' "${i}" | cut -b 8,9) != "rw" ]; then
16+
if [ $(stat -c '%A' "${i}" | cut -b 5,6) != "rw" ]; then
1717
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"
1818
fi
1919
fi

0 commit comments

Comments
 (0)