it is not file perm error, it is file ownership issue (someone not owner trying to change file perm). make sure you executed the weectl both as weewx user and from within the weewx virtual env ⊣GE⊢
> On 4 Nov 2025, at 4:58 am, ABZ <[email protected]> wrote: > > File "/usr/lib/python3.11/shutil.py", line 309, in copymode > chmod_func(dst, stat.S_IMODE(st.st_mode)) > PermissionError: [Errno 1] Operation not permitted: > '/etc/weewx/bin/user/forecast.py' > > Although it says "PermissionError", the paths through to /etc/weewx are open > rwx for the world. -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/640C4DEB-5E23-4C05-A878-B1F8BA0D15F4%40geddy.au.
