Re: Regarding socket permissions

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZBAloBbDSPflHlEB@localhost>
On Tue, Mar 14, 2023 at 09:23:05AM +0100, Morten Nissov wrote:
> I suppose that's it then, the permissions aren't changed therefore access
> will be restricted since it's owned by root. Do you think there's any
> workaround? Or any interest from others to set the sock with the same 666
> permissions, i.e. such that I could PR this?

Adding an option to set world-writable permissions on the socket
doesn't sound like a good idea to me. How does your application get
access to the serial port?

Applications like gpsd and ntp-refclock normally start with root
privileges, open all devices and sockets they will need, and then
switch to an unprivileged user.

-- 
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.