| Re: [hatari-devel] NatFeats SCSI Driver, "disk" group membership | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] NatFeats SCSI Driver, "disk" group membership
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Fri, 29 Nov 2024 22:36:46 +0100
- Arc-authentication-results: i=1; strato.com;    arc=none;    dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1732916223;    s=strato-dkim-0002; d=strato.com;    h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From:    Subject:Sender;    bh=DIeNMCv//hrageJitOn6tWZdZQmVoqpH8oajKiQ1G64=;    b=eS5LbqIRFhGFa3YwXQSFL2T6oZwwnd8tl7J1xB90ApPgtxJbHRm8J2qdEAAsCyX6Jt    6WqTTdD/k4RNOoAMIpoIub/dm+E3htDc9d4WVmtX+a1KjGutMIxx3SeHDYIopMGBEGiq    /F4lpm+0YuI9/dhjUx2+J+uQ4UXR1upejtPkb6F7gQjpTYjg/nmcQyeg5OrKbGHYUKEQ    6+9M78h6nxgbBwSRBgz8jS1dVl/CoKinj4f3+WVExpkgszvi4uG17KzkNxOUNE6XrNXj    fZr0VjRFcxK2LfSu2i1YxGDoWv7QcfTtIEqjPQS6rsoaYYfkG9aEVHfOadP45f0Zq7O+    hz7w==
- Arc-seal: i=1; a=rsa-sha256; t=1732916223; cv=none;    d=strato.com; s=strato-dkim-0002;    b=XuYbCWwVFMmQZgCQPDv9NRF3R1+pLpaggFw5gFytIGwADHEZSrdK94T7Sdmv0X5dCF    3LGq8/b5ARweWoFplrSrPnQB/EDcdPCcg/8fSuFxbhPXKSrdIKUjOalG2FO0ijz1eD50    CD3wuSIPdZk9zGqTEDMR7wbI4k9+AbNbHbFs3nE6vJuX7aJPS99m0bQPCc3iSvrRzG1n    7hhvHDKDosvi/djjxlkInFwy0V9qyoDxln0XwcYTxmqBX4lvLOldSi3B0gZB4wMQ43GO    QiElKzwcDSkD4v8tfSBXRZfx4X7rth9TxeaxfLe+6L8Qg3JysdEnmxadnHIfTUoacfI5    TyOA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1732916223;    s=strato-dkim-0002; d=seimet.de;    h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From:    Subject:Sender;    bh=DIeNMCv//hrageJitOn6tWZdZQmVoqpH8oajKiQ1G64=;    b=pZfU+ehoJ99gMBH3s/LfbzF9221n4v8mCIbYbgH963IBsMXhM3AcuSABdbrRr9dp5C    7VWCaCR2zfGXYhKOla9BDAmS/qv+uHhbrEGsPY8IHmzymiHM2nCTxtAGdMLoRfqgmYgz    bvjHt60xb9cqT7nbSU3O4rv9tiFr7qwb4JtJA1zBo6eISuMPj87YVlvihe2qXJ/THG/+    5HCtjkU4sKvbFHwNGTBEjJoUQ24X+8ATQzi0JdI72pmphmlbH95zMRym1Zkza7AaRPwP    yohi4u3qtX4EUItd7Q3NZGukrlAUjx5GN5FDOP3ase+HibuihzXhqQU8bYofEWGra2Rm    CyFg==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1732916223;    s=strato-dkim-0003; d=seimet.de;    h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From:    Subject:Sender;    bh=DIeNMCv//hrageJitOn6tWZdZQmVoqpH8oajKiQ1G64=;    b=IMJz7Zzd8HGMj0uZICIZjGeozId29ozF86roWfAxSjn4RG9QVk5GqaLdLe7u2zA/b6    XD3sf41cqiRHfoH5Q8Aw==
> That seems to be the case also on Debian, but the used group names might 
> differ between distros...
Yes, I agree. I suggest to add a note to the documenation that says that the
user running Hatari must be a member of the group /dev/sg* belongs to.
> > I just tried Hatari on a Pi and wondered why I could not access my USB
> > stick from within the emulation. This was because I was not a member of
> > the "disk group.
> 
> Was that also with Debian (derived) distro, like Rasbian?
Yes, this was with Raspberry Pi OS, which is derived from Debian (bookworm
in my case).
> Btw. If somebody has another distro, could you check what group "ls -ld 
> /dev/s*" reports for the disks?
I'm not sure what you mean. I can only check for the distributions that I
know/use, not for others. But adding a more general note, as indicated above,
should be sufficient.
Best regards
Uwe