Re: [poky] Changing permission for udev file devices in poky

Tim Orling <[email protected]>
Newsgroups org.yoctoproject.lists.poky
Message-ID <CANx9H-BgMauQu6pOPpfgE3VhFoQ0yrznOe982dWBpFiKmmi2Og@mail.gmail.com>
On Fri, May 3, 2024 at 2:10 PM Tim Orling via lists.yoctoproject.org
<[email protected]> wrote:

>
>
> On Fri, May 3, 2024 at 2:09 PM Tim Orling via lists.yoctoproject.org
> <[email protected]> wrote:
>
>>
>>
>> On Fri, May 3, 2024 at 1:51 PM ruom9900 via lists.yoctoproject.org
>> <[email protected]> wrote:
>>
>>> Hello,
>>> I'm trying to change the file ownership rules for i2c devices by
>>> specifying the group to be a custom group. Im creating the custom group in
>>> my local.conf file with EXTRA_USER_PARAMS , is there a way to modify the
>>> file permissions from the local.conf file instead of the devfs-udev.rules
>>> file ?
>>
>>
>> You probably want to do a bbappend and modify the do_install with chmod
>> command.
>>
> or chown might be more appropriate for your custom group use case.
>

On further thought, I think you should add your custom group/user to the
existing udev group. Do not reinvent the wheel.

Perhaps you could share some more details about what you are trying to
achieve and why you are asking these questions. It is possible you are
going down the less-optimal path and we might be able to help you more with
more information.


>
>>
>>>
>>>
>>>
>>
>>
>>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#13345):
> https://lists.yoctoproject.org/g/poky/message/13345
> Mute This Topic: https://lists.yoctoproject.org/mt/105896480/924729
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [
> [email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.