Page 2 of 2

Re: logrotate z-way-server has wrong file mode

Posted: 17 Jun 2020 13:43
by PoltoS
but there is a postinst that should change the mode to 0644. So i'm surprised...

Re: logrotate z-way-server has wrong file mode

Posted: 17 Jun 2020 13:43
by PoltoS
May be this is because you don't use .deb but extract it manually?

Re: logrotate z-way-server has wrong file mode

Posted: 18 Jun 2020 11:49
by micky1500
I was just curious and looked in the .deb file.
I upgraded from 3.0.5 to 3.0.6 using z-way web UI, I didn't do anything manually.

Re: logrotate z-way-server has wrong file mode

Posted: 19 Jun 2020 00:39
by PoltoS
Hm.. if you force install of this deb packet again, will permissions remain incorrect?

Re: logrotate z-way-server has wrong file mode

Posted: 19 Jun 2020 00:49
by micky1500
Maybe someone else can try.
I have already applied the work around. and currently I have a working system.
Just fingers crossed it still works with 3.0.7 :)

Re: logrotate z-way-server has wrong file mode

Posted: 05 Jul 2020 22:53
by AlesKO
Great. My log file just exceded 2GB. Tried 'sudo chmod....' command.
Hope this will solve the problem. But when?

Re: logrotate z-way-server has wrong file mode

Posted: 06 Jul 2020 09:54
by AlesKO
This morning I checked and new log file was created.
This was not solved in 3.0.6 version ?

Re: logrotate z-way-server has wrong file mode

Posted: 07 Jul 2020 00:48
by PoltoS
Hm,.. interesting - we can not reproduce this issue. Do you have a newly installed system? Or it was an upgrade?

Re: logrotate z-way-server has wrong file mode

Posted: 07 Jul 2020 03:52
by micky1500
I ran a test and it failed if the upgrade was done using the Webui.

I installed v3.0.6 on a Clean Raspberry/Buster. That installed with the correct chmod settings.

Ran the upgrade process (3.0.6) via Chrome-Webui Configuration-Management-FirmwareUpgrade - -
It Sets the WRONG chmod settings.

but running the ssh upgrade sudo dpkg -i z-way-3.0.6_armhf.deb
it sets the correct chmod settings.

Re: logrotate z-way-server has wrong file mode

Posted: 07 Jul 2020 04:51
by PoltoS
Thank you, looks I found the issue!