Re: Regarding socket permissions

Morten Nissov <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <CAGS3e0b6W=_4WeHkUvorVWM=n3ZuFb0b7Wvrxcqpq0KsRQ8eog@mail.gmail.com>
>
> If you really need to, you can change the permissions in the
> service/init script after starting chronyd. Instead of setting it to
> 0666 it might be better to instead change the owner to the user
> running your application.

Is there a material difference in performance using SHM vs socket? My
understanding was maybe, as SHM polls. If there is no significant
difference then I don't really need sockets.

Morten

On Tue, Mar 14, 2023 at 9:00 AM Miroslav Lichvar <[email protected]>
wrote:

> On Tue, Mar 14, 2023 at 08:46:57AM +0100, Morten Nissov wrote:
> > My application opens the socket like GPSD but I don't really have the
> > possibility to start it with root privileges. For this reason something
> > like the "perm" argument for SHM refclocks would be very useful with the
> > socket connection.
>
> If you really need to, you can change the permissions in the
> service/init script after starting chronyd. Instead of setting it to
> 0666 it might be better to instead change the owner to the user
> running your application.
>
> --
> Miroslav Lichvar
>
>
> --
> To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
> with "unsubscribe" in the subject.
> For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
> with "help" in the subject.
> Trouble?  Email [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.