Page 1 of 1

WG3526 with WiFix 2019-01-13: HDD permissions messed at boot

Posted: Fri Jan 18, 2019 1:58 pm
by eki_j
Greetings!

First of all, thanks to all developers who have contributed to the WiFix firmware! My WG3526 based router seems to be working nicely and the Quectel EC25 modem is working fine with LTE support. Nice!

But one thing is buggering me: I have installed an internal HDD to the SATA port. When router boots, the drive is mounted OK but something starts to change permissions and owner to the drive contents.

After boot the files' owner has been set to nobody:root and all permissions have been set (drwxrwxrwx). I can set those back, but during (re-)boot things are messed up again.

Does anyone have a clue what's the problem?
The firmware is latest (openwrt-wg3526-GO2019-01-13-upgrade.bin)

Thanks!

Re: WG3526 with WiFix 2019-01-13: HDD permissions messed at boot

Posted: Fri Jan 18, 2019 2:00 pm
by swwifty
the permissions for every folder, or just top level?

Re: WG3526 with WiFix 2019-01-13: HDD permissions messed at boot

Posted: Fri Jan 18, 2019 2:11 pm
by eki_j
Every file and folder...
Just noticed that group settings do remain intact.

Re: WG3526 with WiFix 2019-01-13: HDD permissions messed at boot

Posted: Fri Jan 18, 2019 2:34 pm
by swwifty
so basically effectively someone is doing 'chmod -R 777 /' ?

Re: WG3526 with WiFix 2019-01-13: HDD permissions messed at boot

Posted: Fri Jan 18, 2019 2:45 pm
by eki_j
Could be, plus 'chown -R nobody /dev/sda1'. To be clear, this seems to apply only to the mount point recursively.
Could it be something with the Samba? I do share a few directories from it.

Re: WG3526 with WiFix 2019-01-13: HDD permissions messed at boot

Posted: Fri Jan 18, 2019 3:09 pm
by swwifty
maybe? I don't have enough experience with this issue to say. It could be Samba though, seems like a reasonable theory.