Hello,

I am configuring a new raspberry Pi 5 with Weewx 5.02.  One of the skin I 
am using is producing  daily , monthly and yearly html files,  and during 
the first run, it take a while to generate all this files.  
With weewxd rot running, I used the command  weectl report run to run all 
the reports and to generate all these files.
The logged user (user = mymeteo)  is belonging to the weewx group, and 
before running  weectl report run I verified that the folder 
/var/www/html/weewx has permission 664 with owner=weewx and group = weewx.

I observed that all the files generated by weectl report in 
/var/www/html/weewx and subfolders have a  644 permission with 
owner=mymeteo and group = weewx., meaning that user weewx , and therefore 
weewxd, will not able to modify these files!

I had to change the permissions of the HTML_ROOT folder according to the 
weewx wiki  to bring bad the 664 permission for owner : weewx and 
group:weewx.

But... another problem : while running weewx, the new files modified or 
generated by weewx.engine.StdReport in /var/www/html/weewx will have 
permission 644 for owner:weewx and group:weewx. So  wee report, launched 
with the account mymeteo will no more be able to update files.

Is it a bug, or some bad settings in my system ?The best would be to have 
permission=664 when weewx or weectl reports are writing or modifying files 
 in HTML_ROOT 


-- 
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/62f66f3a-3d52-4b9e-9f2b-96d8d26feb27n%40googlegroups.com.

Reply via email to