Re: Regarding socket permissions

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZBApqnEaenPczDI9@localhost>
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.