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

ROUTER Topics that are general or unclassified in nature, or does not belong elsewhere
Forum rules
Please assure there is not an existing forum and topic related to your post
Post Reply
eki_j
Posts: 3
Joined: Fri Jan 18, 2019 1:21 pm
Has thanked: 0
Been thanked: 0

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

Post 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!
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

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

Post by swwifty »

the permissions for every folder, or just top level?
eki_j
Posts: 3
Joined: Fri Jan 18, 2019 1:21 pm
Has thanked: 0
Been thanked: 0

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

Post by eki_j »

Every file and folder...
Just noticed that group settings do remain intact.
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

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

Post by swwifty »

so basically effectively someone is doing 'chmod -R 777 /' ?
eki_j
Posts: 3
Joined: Fri Jan 18, 2019 1:21 pm
Has thanked: 0
Been thanked: 0

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

Post 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.
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

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

Post by swwifty »

maybe? I don't have enough experience with this issue to say. It could be Samba though, seems like a reasonable theory.
Post Reply

Return to “General and Unclassified”