Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 523348 Details for
Bug 650128
x11-drivers/nvidia-drivers: add a ConsoleKit seat hook to add acl's to Nvidia device files for currently active session user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
simple consolekit seat hook shell script
file_650128.txt (text/plain), 444 bytes, created by
nnnn20430
on 2018-03-10 18:43:38 UTC
(
hide
)
Description:
simple consolekit seat hook shell script
Filename:
MIME Type:
Creator:
nnnn20430
Created:
2018-03-10 18:43:38 UTC
Size:
444 bytes
patch
obsolete
>#!/bin/bash > >OLD_UID="${CK_SEAT_OLD_SESSION_USER_UID}" >OLD_LOCAL="${CK_SEAT_OLD_SESSION_IS_LOCAL}" >NEW_UID="${CK_SEAT_SESSION_USER_UID}" >NEW_LOCAL="${CK_SEAT_SESSION_IS_LOCAL}" > >if test _"${OLD_LOCAL}" = _"true"; then > setfacl -x u:"${OLD_UID}" /dev/nvidia{0..254} /dev/nvidia-modeset /dev/nvidiactl >fi > >if test _"${NEW_LOCAL}" = _"true"; then > setfacl -m u:"${NEW_UID}":rw /dev/nvidia{0..254} /dev/nvidia-modeset /dev/nvidiactl >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 650128
: 523348