On Wednesday, September 15, 2021 at 3:31:01 PM UTC-7 jonatha...@gmail.com 
wrote:

> I presume that if weewx creates new files under .../weewx/ then they will 
> inherit correct permissions (or possibly weewx won't create any such files 
> after its initialization).  Also it doesn't look like there's any worry 
> about security.
>
>
>
It's not weewx, it's selinux, and you can't presume anything about selinux. 
 It has 'its' ideas about where things are located and how they got there, 
so if you do anything other than that selinux will block you when in 
enforcement mode, since it thinks you're actively trying to get around the 
security setup on the system.  It's actually a feature.

The better way to work around things is to put things where selinux expects 
it, or just run the chcon command in the linked article to set the security 
context of the files weewx writes to.


 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c75e0ae4-a4f0-4aaf-ba1b-6881b9a612a8n%40googlegroups.com.

Reply via email to