Re: [Linuxptp-devel] Quation regarding the new 'uds_ro_address'

2021-03-23 Thread Richard Cochran
On Tue, Mar 16, 2021 at 12:38:38PM +, Geva, Erez wrote:
> Can we set the read only file with a group, so we can run quaries 
> without root?

You can change the permissions to whatever you want.

> How about adding a "group" configuration for the uds_ro_address?

I don't think we need yet another config. option for this.  After all,
it is trivial for the sysadmin to script the desired permissions.

Thanks,
Richard


___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel


[Linuxptp-devel] Quation regarding the new 'uds_ro_address'

2021-03-16 Thread Geva, Erez
Hi,

There is a new uds_ro_address with the default file /var/run/ptp4lro.
Which allow to read without setting or modifying.
Great, Good work -:)

What is your view on the files permission?

$ ls -l  /var/run/ptp4l*
srw-rw 1 root root 0 Mar 16 13:21 /var/run/ptp4l
srw-rw 1 root root 0 Mar 16 13:21 /var/run/ptp4lro

Can we set the read only file with a group, so we can run quaries 
without root?

How about adding a "group" configuration for the uds_ro_address?

Erez

___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel