[OpenIndiana-discuss] How to mount usb devices?
Peter Tribble
peter.tribble at gmail.com
Mon Mar 29 12:13:02 UTC 2021
On Mon, Mar 29, 2021 at 12:42 PM Udo Grabowski (IMK) <udo.grabowski at kit.edu>
wrote:
>
> On 29.03.21 13:19, Stephan Althaus wrote:
> > On 03/29/21 12:53 PM, Udo Grabowski (IMK) wrote:
> >>>
> >>> Do you have the /etc/logindevperm file with the entries listed above ?
> >>> /dev/vt/7 is owned by you, and /dev/vt/console_user is linking to that,
> >>> so those entries should work. These are used by the login process, or
> >>> gdm. If you use lightdm, I'm not shure if that supports logindevperm
> >>> (somewhere the "light" has its origin ...).
> >>>
> >>
> >> It could also be that this depends on this gdm setting:
> >>
> >> # cat /etc/gdm/custom.conf
> >>
> >> [security]
> >> CheckDirOwner=false
> >>
> >> You have to logout and restart gdm (svcadm restart gdm) to have this
> >> activated
> >
> > Yes, i am using lightdm as this is the default.
> > ....
>
> There seemed to be an attempt to integrate something like that into
> lightdm:
>
> <
> https://openindiana.org/pipermail/openindiana-discuss/2014-October/016590.html
> >
>
> Unfortunately, the link therein is gone. Gabriele ?
>
I would assume that it's this patch that's already applied to the OI
lightdm:
https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/desktop/lightdm/patches/11-login-device-permissions.patch
I have a similar patch in Tribblix, although I'm using SLiM. But generally
that fix to call
di_devperm_login and di_devperm_logout should be all that's needed for the
desktop
login to get the permissions correct.
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
More information about the openindiana-discuss
mailing list