![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Thank you! I think I understand it now a little better. Any file in a tar created by 7-zip under windows has the permission set to 777 (This seems to be the default at least. I do not know whether one can change this).
The second thing, is that any file on the user partition of the reader is evidently treated as having permission 755. Since I transferred my files to the system partition by KoboRoot.tgz or by simply copying them from the user partition, it happens that those files have permission 777 or 755. Last edited by tshering; 02-01-2015 at 05:40 PM. |
![]() |
![]() |
![]() |
#17 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
how to know whats files must be 777 or 755?
|
![]() |
![]() |
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I guess, since there is only the root user, it does not matter whether executable files have 777 or 755 permission.
Did you already open your device? Last edited by tshering; 02-01-2015 at 05:48 PM. |
![]() |
![]() |
![]() |
#19 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Then if i use 7zip all permissions go well for de/compress?
About open the device, I'm a bit scary because the frostschutz's report about the blend of frontlight and IR screen. That don't will be the first device i open but like i have already my warranty first i will try with it. If not go well... i suppose will open it. I tell you something in a days. Last edited by boriar; 02-01-2015 at 05:56 PM. |
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I would say, if you use it under Windows yes. Under linux, i think, 7-zip will respect the set permissions.
But in your current situation, this will not help you I guess. Since you have to get your reader running before it can un-tar anything. And to get it running you have to change the permissions of rcS on your internal sd. Right? Or do you have it already running again? Last edited by tshering; 02-01-2015 at 05:56 PM. |
![]() |
![]() |
![]() |
#21 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Quote:
Thanks both tshering and frostschutz for your considerations. I hope be operative as soon as posible. ![]() ![]() |
|
![]() |
![]() |
![]() |
#22 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
There doesn't seem to be an alternative method. It's not in the kernel (no initramfs). It could be in the bootloader, but if it's there I haven't found it yet. Last edited by frostschutz; 02-01-2015 at 06:34 PM. |
|
![]() |
![]() |
![]() |
#24 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Is it posible to make a program for windows to do a check of all that?
I think will be a good tool for developers with experience and amateurs also to prevent things like that. |
![]() |
![]() |
![]() |
#26 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
If you therefore, choose to set the file permissions selectively, it is a little hard to check afterwards whether you did it correctly. One would have to read the starting bytes of every file in order to ascertain whether it is an ELF file or a script file (hoping that each script file identifies itself as being a script file). If one takes link files also into consideration ... Maybe there is another solution, but right now I cannot think of one. And file permissions are not the only issue that can make a KoboRoot.tgz dangerous. |
|
![]() |
![]() |
![]() |
#27 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And that doesn't help if the file gets corrupted during the transfer. Some kind of device-side integrity checking would seem the most basic of precautions, but, meh. I'm at least hoping it's done in some way by the Desktop client when you use that to handle official updates?
EDIT: Which is apparently what part of 3.12.1 is about, so, yay? Last edited by NiLuJe; 02-02-2015 at 11:24 AM. |
![]() |
![]() |
![]() |
#28 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Well, there's a message in the u-boot bin at least:
Code:
Got dual finger touched!! waittouch ntxup waittouch [interval (ms)] [timeout (ms)] - polling touch each interval and wait until touch pressed . Or it's a timing problem. If u-boot does the tap detection, it has to do it before it loads the kernel. But the device boots fast; I'd be surprised if it even waited 1 second for a tap. Last edited by frostschutz; 02-02-2015 at 02:25 PM. |
![]() |
![]() |
![]() |
#29 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#30 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad booting error, | tigerszheng | iRex | 1 | 05-24-2011 07:09 AM |
Opus Opus not booting | ixcoatl | Bookeen | 5 | 02-28-2010 05:56 PM |
booting problems | Epiphone | Sony Reader | 21 | 09-24-2009 05:40 AM |
booting time | bugsbunny14 | Sony Reader | 11 | 09-18-2006 11:03 AM |