You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
drizuid-patch-xxx
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
91
90
89
88
87
86
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
15
11
10
9
8
7
6
5
4
3
2
1.14.1.5488-cc260c476-pkg-12263ab3-ls1
1.14.1.5488-cc260c476-pkg-12263ab3-ls2
1.14.1.5488-cc260c476-pkg-6cda7a5b-ls6
1.14.1.5488-cc260c476-pkg-713f13e7-ls8
1.14.1.5488-cc260c476-pkg-7def7851-ls7
1.14.1.5488-cc260c476-pkg-a540a68c-ls9
1.14.1.5488-cc260c476-pkg-fcf34866-ls3
1.14.1.5488-cc260c476-pkg-fcf34866-ls4
1.14.1.5488-cc260c476-pkg-fcf34866-ls5
1.15.1.791-8bec0f76c-pkg-58ac634a-ls11
1.15.1.791-8bec0f76c-pkg-743c8954-ls10
1.15.2.793-782228f99-pkg-15f29cf4-ls12
1.15.2.793-782228f99-pkg-15f29cf4-ls13
1.15.2.793-782228f99-pkg-460d94f3-ls14
1.15.3.858-fbfb913f7-pkg-a8e203ba-ls15
1.15.3.876-ad6e39743-pkg-0261eb12-ls17
1.15.3.876-ad6e39743-pkg-1525fa13-ls16
1.15.3.876-ad6e39743-pkg-fa4c3d45-ls18
1.15.4.993-bb4a2cb6c-ls21
1.15.4.993-bb4a2cb6c-pkg-08b1be97-ls19
1.15.4.993-bb4a2cb6c-pkg-61e2cc60-ls20
1.15.4.994-107756f7e-ls22
1.15.4.994-107756f7e-ls23
1.15.4.994-107756f7e-ls24
1.15.6.1079-78232c603-ls25
1.15.6.1079-78232c603-ls26
1.15.6.1079-78232c603-ls27
1.15.8.1198-eadbcbb45-ls28
1.15.8.1198-eadbcbb45-ls29
1.16.0.1226-7eb2c8f6f-ls30
1.16.0.1226-7eb2c8f6f-ls31
1.16.0.1226-7eb2c8f6f-ls32
1.16.0.1226-7eb2c8f6f-ls33
1.16.1.1291-158e5b199-ls34
1.16.1.1291-158e5b199-ls35
1.16.1.1291-158e5b199-ls36
1.16.2.1297-4b7ace214-ls37
1.16.2.1321-ad17d5f9e-ls38
1.16.3.1402-22929c8a2-ls39
1.16.3.1402-22929c8a2-ls40
1.16.3.1402-22929c8a2-ls41
1.16.3.1402-22929c8a2-ls42
1.16.3.1402-22929c8a2-ls43
1.16.4.1469-6d5612c2f-ls44
1.16.5.1488-deeb86e7f-ls45
1.16.5.1554-1e5ff713d-ls46
1.16.5.1554-1e5ff713d-ls47
1.16.5.1554-1e5ff713d-ls48
1.16.5.1554-1e5ff713d-ls49
1.16.6.1592-b9d49bdb7-ls50
1.16.6.1592-b9d49bdb7-ls51
1.16.6.1592-b9d49bdb7-ls52
1.16.6.1592-b9d49bdb7-ls53
1.17.0.1709-982421575-ls54
1.17.0.1841-d42cfa161-ls55
1.17.0.1841-d42cfa161-ls56
1.18.0.1913-e5cc93306-ls57
1.18.0.1913-e5cc93306-ls58
1.18.0.1944-f2cae8d6b-ls59
1.18.0.1944-f2cae8d6b-ls60
1.18.1.1973-0f4abfbcc-ls61
1.18.1.1973-0f4abfbcc-ls62
1.18.1.1973-0f4abfbcc-ls64
1.18.1.2019-c186313fe-ls63
1.18.1.2019-c186313fe-ls65
1.18.2.2029-36236cc4c-ls66
1.18.2.2041-3d469cb32-ls67
1.18.2.2058-e67a4e892-ls68
1.18.2.2058-e67a4e892-ls69
1.18.2.2058-e67a4e892-ls70
1.18.2.2058-e67a4e892-ls71
1.18.3.2156-349e9837e-ls72
1.18.4.2171-ac2afe5f8-ls73
1.18.4.2171-ac2afe5f8-ls74
1.18.4.2171-ac2afe5f8-ls75
1.18.6.2368-97add474d-ls76
1.18.6.2368-97add474d-ls77
1.18.6.2368-97add474d-ls78
1.18.7.2438-f342a5a43-ls79
1.18.7.2457-77cb9455c-ls80
1.18.7.2457-77cb9455c-ls81
1.18.8.2527-740d4c206-ls82
1.18.8.2527-740d4c206-ls83
1.18.8.2527-740d4c206-ls84
1.18.9.2571-e106a8a91-ls85
1.18.9.2571-e106a8a91-ls86
1.18.9.2578-513b381af-ls87
1.19.1.2630-72c16a276-ls88
1.19.1.2645-ccb6eb67e-ls89
1.19.1.2701-6327e27bf-ls90
1.19.2.2737-b69929dab-ls91
1.19.3.2764-ef515a800-ls92
1.19.3.2764-ef515a800-ls93
1.19.3.2764-ef515a800-ls94
1.19.3.2831-181d9145d-ls96
1.19.3.2831-181d9145d-ls97
1.19.3.2843-e3c1f7bcd-ls98
1.19.3.2852-219a9974e-ls100
1.19.3.2852-219a9974e-ls99
1.19.4.2902-69560ce1e-ls101
1.19.4.2902-69560ce1e-ls102
1.19.4.2902-69560ce1e-ls103
1.19.4.2935-79e214ead-ls104
1.19.4.2935-79e214ead-ls105
1.19.4.2935-79e214ead-ls106
1.19.4.2935-79e214ead-ls107
1.19.4.2935-79e214ead-ls108
1.19.5.3112-b23ab3896-ls109
1.19.5.3112-b23ab3896-ls110
1.19.5.3112-b23ab3896-ls111
1.19.5.3112-b23ab3896-ls112
1.19.5.3112-b23ab3896-ls113
1.19.5.3112-b23ab3896-ls114
1.20.1.3252-a78fef9a9-ls115
1.20.1.3252-a78fef9a9-ls116
1.20.1.3252-a78fef9a9-ls117
1.20.2.3402-0fec14d92-ls118
1.20.3.3437-f1f08d65b-ls119
1.20.3.3483-211702a9f-ls120
1.20.3.3483-211702a9f-ls121
1.20.3.3483-211702a9f-ls122
1.20.4.3517-ab5e1197c-ls123
1.20.4.3517-ab5e1197c-ls124
1.20.5.3600-47c0d9038-ls1
1.20.5.3600-47c0d9038-ls2
1.20.5.3600-47c0d9038-ls3
1.21.0.3616-d87012962-ls1
1.21.0.3616-d87012962-ls2
1.21.0.3616-d87012962-ls4
1.21.0.3616-d87012962-ls5
1.21.0.3711-b509cc236-ls3
1.21.0.3711-b509cc236-ls6
1.21.1.3766-7e23ef53c-ls4
1.21.1.3766-7e23ef53c-ls7
1.21.1.3795-ee64ab56f-ls5
1.21.1.3795-ee64ab56f-ls6
1.21.1.3795-ee64ab56f-ls7
1.21.1.3795-ee64ab56f-ls8
1.21.1.3795-ee64ab56f-ls9
1.21.1.3830-6c22540d5-ls10
1.21.1.3830-6c22540d5-ls11
1.21.1.3830-6c22540d5-ls12
1.21.1.3830-6c22540d5-ls13
1.21.1.3830-6c22540d5-ls8
1.21.1.3842-b0c7a97d9-ls14
1.21.1.3842-b0c7a97d9-ls9
1.21.1.3876-3c3adfcb4-ls10
1.21.1.3876-3c3adfcb4-ls11
1.21.1.3876-3c3adfcb4-ls12
1.21.1.3876-3c3adfcb4-ls15
1.21.1.3876-3c3adfcb4-ls16
1.21.1.3876-3c3adfcb4-ls17
1.21.1.3876-3c3adfcb4-ls18
1.21.1.3876-3c3adfcb4-ls19
1.21.2.3939-3945797bd-ls13
1.21.2.3939-3945797bd-ls20
1.21.2.3943-a91458577-ls14
1.21.2.3943-a91458577-ls21
1.21.2.3943-a91458577-ls22
1.21.3.4014-58bd20c02-ls15
1.21.3.4014-58bd20c02-ls23
1.21.3.4014-58bd20c02-ls24
1.21.3.4021-5a0a3e4b2-ls16
1.21.3.4021-5a0a3e4b2-ls25
1.21.3.4021-5a0a3e4b2-ls26
1.21.3.4046-3c1c83ba4-ls27
1.21.3.4046-3c1c83ba4-ls28
1.21.4.4079-1b7748a7b-ls29
1.21.4.4079-1b7748a7b-ls30
1.21.4.4079-1b7748a7b-ls31
1.22.0.4163-d8c4875dd-ls32
1.22.0.4163-d8c4875dd-ls33
1.22.0.4163-d8c4875dd-ls34
1.22.1.4228-724c56e62-ls35
1.22.1.4228-724c56e62-ls36
1.22.1.4228-724c56e62-ls38
1.22.1.4271-b86a5e175-ls37
1.22.1.4275-48e10484b-ls39
1.22.1.4275-48e10484b-ls40
1.22.2.4282-a97b03fad-ls41
1.22.2.4282-a97b03fad-ls42
1.22.2.4282-a97b03fad-ls43
1.22.3.4392-d7c624def-ls44
1.22.3.4392-d7c624def-ls45
1.22.3.4392-d7c624def-ls46
1.22.3.4523-d0ce30438-ls47
1.22.3.4523-d0ce30438-ls48
1.22.3.4523-d0ce30438-ls49
1.23.1.4571-6119e8eed-ls50
1.23.1.4602-280ab6053-ls51
1.23.1.4602-280ab6053-ls53
1.23.2.4625-a83d2d0f9-ls52
1.23.2.4656-85f0adf5b-ls54
1.23.2.4656-85f0adf5b-ls55
1.23.2.4656-85f0adf5b-ls56
1.23.3.4707-ebb5fe9f3-ls57
1.23.3.4707-ebb5fe9f3-ls58
1.23.3.4707-ebb5fe9f3-ls59
1.23.3.4707-ebb5fe9f3-ls60
1.23.4.4805-186bae04e-ls61
1.23.4.4805-186bae04e-ls62
1.23.5.4841-549599676-ls63
1.23.5.4862-0f739d462-ls64
1.23.6.4881-e2e58f321-ls65
1.23.6.4881-e2e58f321-ls66
1.23.6.4881-e2e58f321-ls67
1.24.0.4930-ab6e1a058-ls68
1.24.0.4930-ab6e1a058-ls69
1.24.1.4931-1a38e63c6-ls70
1.24.1.4931-1a38e63c6-ls71
1.24.1.4931-1a38e63c6-ls72
1.24.2.4973-2b1b51db9-ls73
1.24.2.4973-2b1b51db9-ls74
1.24.3.5033-757abe6b4-ls75
1.24.3.5033-757abe6b4-ls76
1.24.3.5033-757abe6b4-ls77
1.24.3.5033-757abe6b4-ls78
1.24.4.5081-e362dc1ee-ls79
1.24.4.5081-e362dc1ee-ls80
1.24.4.5081-e362dc1ee-ls81
1.24.4.5081-e362dc1ee-ls82
1.24.5.5173-8dcc73a59-ls83
1.24.5.5173-8dcc73a59-ls84
1.24.5.5173-8dcc73a59-ls85
1.24.5.5173-8dcc73a59-ls86
1.24.5.5173-8dcc73a59-ls87
1.24.5.5173-8dcc73a59-ls88
1.25.0.5282-2edd3c44d-ls89
1.25.0.5282-2edd3c44d-ls90
1.25.1.5286-34f965be8-ls91
1.25.2.5319-c43dc0277-ls92
1.25.2.5319-c43dc0277-ls93
1.25.2.5319-c43dc0277-ls94
1.25.2.5319-c43dc0277-ls95
1.25.3.5385-f05b712b6-ls96
1.25.3.5409-f11334058-ls97
1.25.3.5409-f11334058-ls98
1.25.4.5468-989df2310-ls99
1.25.4.5487-648a8f9f9-ls100
1.25.5.5492-12f6b8c83-ls101
1.25.5.5492-12f6b8c83-ls102
1.25.6.5577-c8bd13540-ls103
1.25.6.5577-c8bd13540-ls104
1.25.6.5577-c8bd13540-ls105
1.25.7.5604-980a13e02-ls106
1.25.8.5663-e071c3d62-ls107
1.25.8.5663-e071c3d62-ls108
1.25.9.5721-965587f64-ls109
1.25.9.5721-965587f64-ls110
1.26.0.5715-8cf78dab3-ls111
1.26.0.5715-8cf78dab3-ls112
1.26.0.5715-8cf78dab3-ls113
1.26.1.5798-99a4a6ac9-ls114
1.26.1.5798-99a4a6ac9-ls115
1.26.1.5798-99a4a6ac9-ls116
1.26.2.5797-5bd057d2b-ls117
1.26.2.5797-5bd057d2b-ls118
1.26.2.5797-5bd057d2b-ls119
1.27.0.5897-3940636f2-ls120
1.27.1.5916-6b0e31a64-ls121
1.27.1.5916-6b0e31a64-ls122
1.27.2.5929-a806c5905-ls123
1.27.2.5929-a806c5905-ls124
1.27.2.5929-a806c5905-ls125
1.28.0.5999-97678ded3-ls126
1.28.1.6092-87136b92b-ls127
1.28.1.6104-788f82488-ls128
1.28.2.6106-44a5bbd28-ls129
1.28.2.6151-914ddd2b3-ls130
1.28.2.6151-914ddd2b3-ls131
1.28.2.6151-914ddd2b3-ls132
1.28.2.6151-914ddd2b3-ls133
1.29.0.6244-819d3678c-ls134
1.29.0.6244-819d3678c-ls136
1.29.0.6244-819d3678c-ls137
1.29.1.6313-f4cdfea9c-ls135
1.29.1.6316-f4cdfea9c-ls138
1.29.1.6316-f4cdfea9c-ls139
1.29.1.6316-f4cdfea9c-ls140
1.29.1.6316-f4cdfea9c-ls141
1.29.1.6316-f4cdfea9c-ls142
1.29.2.6364-6d72b0cf6-ls143
1.29.2.6364-6d72b0cf6-ls144
1.29.2.6364-6d72b0cf6-ls145
1.29.2.6364-6d72b0cf6-ls146
1.30.0.6486-629d58034-ls147
1.30.1.6562-915986d62-ls148
1.30.1.6562-915986d62-ls149
1.30.2.6563-3d4dc0cce-ls150
1.30.2.6563-3d4dc0cce-ls151
1.31.0.6654-02189b09f-ls152
1.31.0.6654-02189b09f-ls153
1.31.1.6733-bc0674160-ls154
1.31.1.6733-bc0674160-ls155
1.31.1.6782-77dfff442-ls156
1.31.2.6810-a607d384f-ls157
1.31.2.6810-a607d384f-ls158
1.31.3.6868-28fc46b27-ls159
1.31.3.6868-28fc46b27-ls160
1.32.0.6918-6f393eda1-ls161
1.32.0.6918-6f393eda1-ls162
1.32.0.6950-8521b7d99-ls163
1.32.0.6973-a787c5a8e-ls164
1.32.0.6973-a787c5a8e-ls165
1.32.0.6973-a787c5a8e-ls166
1.32.1.6999-91e1e2e2c-ls167
1.32.2.7100-248a2daf0-ls168
1.32.2.7100-248a2daf0-ls169
1.32.2.7100-248a2daf0-ls170
1.32.3.7162-b0a36929b-ls171
1.32.3.7162-b0a36929b-ls172
1.32.3.7192-7aa441827-ls173
1.32.4.7195-7c8f9d3b6-ls174
1.32.4.7195-7c8f9d3b6-ls175
1.32.5.7328-2632c9d3a-ls176
1.32.5.7349-8f4248874-ls177
1.32.5.7349-8f4248874-ls178
1.32.5.7349-8f4248874-ls179
1.32.5.7349-8f4248874-ls180
1.32.5.7349-8f4248874-ls181
1.32.5.7349-8f4248874-ls182
1.32.5.7349-8f4248874-ls184
1.32.5.7516-8f4248874-ls185
1.32.6.7468-07e0d4a7e-ls183
1.32.6.7557-1cf77d501-ls186
1.32.6.7557-1cf77d501-ls187
1.32.6.7557-1cf77d501-ls188
1.32.6.7557-1cf77d501-ls189
1.32.6.7557-1cf77d501-ls190
1.32.6.7557-1cf77d501-ls191
1.32.7.7621-871adbd44-ls192
1.32.7.7621-871adbd44-ls193
1.32.7.7621-871adbd44-ls194
1.32.7.7621-871adbd44-ls195
1.32.8.7639-fb6452ebf-ls196
1.32.8.7639-fb6452ebf-ls197
1.32.8.7639-fb6452ebf-ls198
1.32.8.7639-fb6452ebf-ls199
1.32.8.7639-fb6452ebf-ls200
1.32.8.7639-fb6452ebf-ls201
1.32.8.7639-fb6452ebf-ls202
1.32.8.7639-fb6452ebf-ls203
1.32.8.7639-fb6452ebf-ls204
1.32.8.7639-fb6452ebf-ls205
1.40.0.7998-c29d4c0c8-ls206
1.40.0.7998-c29d4c0c8-ls207
1.40.0.7998-c29d4c0c8-ls208
1.40.0.7998-c29d4c0c8-ls209
1.40.1.8227-c0dd5a73e-ls210
1.40.1.8227-c0dd5a73e-ls211
1.40.1.8227-c0dd5a73e-ls212
1.40.2.8395-c67dce28e-ls213
1.40.2.8395-c67dce28e-ls214
1.40.2.8395-c67dce28e-ls215
1.40.2.8395-c67dce28e-ls216
1.40.2.8395-c67dce28e-ls217
1.40.2.8395-c67dce28e-ls218
1.40.3.8555-fef15d30c-ls219
1.40.3.8555-fef15d30c-ls220
1.40.3.8555-fef15d30c-ls221
1.40.4.8679-424562606-ls222
1.40.4.8679-424562606-ls223
1.40.4.8679-424562606-ls224
1.40.4.8679-424562606-ls225
1.40.4.8679-424562606-ls226
1.40.4.8679-424562606-ls227
1.40.5.8854-f36c552fd-ls228
1.40.5.8854-f36c552fd-ls229
1.40.5.8897-e5987a19d-ls230
1.40.5.8897-e5987a19d-ls231
1.40.5.8921-836b34c27-ls232
1.40.5.8921-836b34c27-ls233
1.40.5.8921-836b34c27-ls234
1.41.0.8992-8463ad060-ls235
1.41.0.8992-8463ad060-ls236
1.41.0.8994-f2c27da23-ls237
1.41.0.8994-f2c27da23-ls238
1.41.0.8994-f2c27da23-ls239
1.41.0.8994-f2c27da23-ls240
1.41.1.9057-af5eaea7a-ls241
1.41.1.9057-af5eaea7a-ls242
1.41.1.9057-af5eaea7a-ls243
1.41.2.9200-c6bbc1b53-ls244
1.41.2.9200-c6bbc1b53-ls245
bionic-1.21.3.4021-5a0a3e4b2-ls17
bionic-1.21.3.4046-3c1c83ba4-ls18
bionic-1.21.4.4079-1b7748a7b-ls19
bionic-1.22.0.4163-d8c4875dd-ls20
bionic-1.22.0.4163-d8c4875dd-ls21
bionic-1.22.1.4228-724c56e62-ls22
bionic-1.22.1.4228-724c56e62-ls24
bionic-1.22.1.4271-b86a5e175-ls23
bionic-1.22.1.4275-48e10484b-ls25
bionic-1.22.2.4282-a97b03fad-ls26
bionic-1.22.2.4282-a97b03fad-ls27
bionic-1.22.3.4392-d7c624def-ls28
bionic-1.22.3.4392-d7c624def-ls29
bionic-1.22.3.4523-d0ce30438-ls30
bionic-1.22.3.4523-d0ce30438-ls31
bionic-1.23.1.4571-6119e8eed-ls32
bionic-1.23.1.4602-280ab6053-ls33
bionic-1.23.1.4602-280ab6053-ls35
bionic-1.23.1.4602-280ab6053-ls36
bionic-1.23.2.4625-a83d2d0f9-ls34
${ noResults }
36 lines
1.6 KiB
36 lines
1.6 KiB
#!/usr/bin/with-contenv bash
|
|
|
|
FILES=$(find /dev/dri /dev/dvb -type c -print 2>/dev/null)
|
|
|
|
for i in $FILES
|
|
do
|
|
VIDEO_GID=$(stat -c '%g' "${i}")
|
|
VIDEO_UID=$(stat -c '%u' "${i}")
|
|
# check if user matches device
|
|
if id -u abc | grep -qw "${VIDEO_UID}"; then
|
|
echo "**** permissions for ${i} are good ****"
|
|
else
|
|
# check if group matches and that device has group rw
|
|
if id -G abc | grep -qw "${VIDEO_GID}" && [ $(stat -c '%A' "${i}" | cut -b 5,6) = "rw" ]; then
|
|
echo "**** permissions for ${i} are good ****"
|
|
# check if device needs to be added to video group
|
|
elif ! id -G abc | grep -qw "${VIDEO_GID}"; then
|
|
# check if video group needs to be created
|
|
VIDEO_NAME=$(getent group "${VIDEO_GID}" | awk -F: '{print $1}')
|
|
if [ -z "${VIDEO_NAME}" ]; then
|
|
VIDEO_NAME="video$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c8)"
|
|
groupadd "${VIDEO_NAME}"
|
|
groupmod -g "${VIDEO_GID}" "${VIDEO_NAME}"
|
|
echo "**** creating video group ${VIDEO_NAME} with id ${VIDEO_GID} ****"
|
|
fi
|
|
echo "**** adding ${i} to video group ${VIDEO_NAME} with id ${VIDEO_GID} ****"
|
|
usermod -a -G "${VIDEO_NAME}" abc
|
|
fi
|
|
# check if device has group rw
|
|
if [ $(stat -c '%A' "${i}" | cut -b 5,6) != "rw" ]; then
|
|
echo -e "**** The device ${i} does not have group read/write permissions, attempting to fix inside the container.If it doesn't work, you can run the following on your docker host: ****\nsudo chmod g+rw ${i}\n"
|
|
chmod g+rw "${i}"
|
|
fi
|
|
fi
|
|
done
|