Re: [chrony-users] Regarding socket permissions |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Regarding socket permissions
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Tue, 14 Mar 2023 09:00:42 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678780850; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=inDTwntYUAUBBmpZczGIt2n9GNqztZ87afNAyYVbna8=; b=hpS8dzO+hEzCNJDjOPc6AEWMBmioV5l2vesdH8AG+HCTfZdIY56TN4ZQG6WpszRR9I3BAZ 6AnjqhRGJWipUUcM61zXibDh40AbI6ZZIQ0N+wf3wgrqSJdwDJmsbrA5AxKGbwxMY21CY5 4/lLO/a5g5dRKKb4Tw2nzCUgQ3zznDY=
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@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.