06-09-2012, 10:54 AM | #16 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I get a Permission Denied error...
Quote:
I need to study it....so many thing to know... |
|
06-09-2012, 11:01 AM | #17 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
Advert | |
|
06-09-2012, 11:04 AM | #18 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Unrar has 0755...
And I can't change it to 0777... |
06-09-2012, 11:10 AM | #19 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
755 is good enough, execute permission for anyone.
Now check example.rar permissions, looking for read permissions (digits will contain '4' in them). Cheatsheet: 4 - read 2 - write 1 - execute for a total of 7 in each digit postition (plus other stuff, ot here). I.E: 5 == read, execute |
06-09-2012, 11:13 AM | #20 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Also rar file is 755....
Unzip, in /usr/bin is 777 |
Advert | |
|
06-09-2012, 11:47 AM | #21 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Which is either an error or just the permissions of a symbolic link to Busybox.
Do you have write permission on the destination the extracted files will be written to? Hint: if you can create a new, empty file with 'touch filename.txt' then you do have write permission there. (and 'rm filename.txt' when done with it). |
06-09-2012, 12:05 PM | #22 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
Anyway, I tried to get rw permission on root (mntroot rw), nothing changed! I downloaded this package |
|
06-09-2012, 12:17 PM | #23 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
example.rar had been taken from first Google result for example rar query. I think, I can't help you any further. |
|
06-09-2012, 12:25 PM | #24 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Finally I got it working....
I had to unpack it again using another online unpacker service... Now it works really fine! Thanks to everyone! Last question: if I run unrar from /mnt/us, everything works, but if I run it from /mnt/base-us, I get again the permission error...Why? |
06-09-2012, 12:36 PM | #25 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Do the "touch & rm (remove)" check to see if you can write in that part of the tree. Note: You can rename that binary from unrar-nonfree to something else (unrar maybe?) That is just a bit of en_Debian style naming. |
|
06-09-2012, 12:37 PM | #26 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
/mnt/base-us is mounted with noexec option.
|
06-09-2012, 12:38 PM | #27 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
/mnt/base-* mounts are always READ-ONLY. The mount points without "base-" are the writable mount points.
It is a bad idea to mount a partition writeable twice with different mount points. |
06-09-2012, 12:40 PM | #28 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
06-09-2012, 12:42 PM | #29 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I always worked in base-us folder....create and delete files wasn't ever a problem!!
I get the permission denied error only if working in base-us, but not in us. I can't understand why, as I can do whatever I want in base-us! |
06-09-2012, 12:49 PM | #30 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Both individual files and entire filesystems have permission controls. (if confused at this point, just be glad Kindles don't run selinux or use acl lists.) Just put the unrar binary someplace without that restriction (/mnt/us/bin?) and refer to it by its full pathname on the command line. (or change your PATH env. variable to include /mnt/us/bin in the search list) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RAR CONVERSON TO EPUB | buddy | Calibre | 4 | 03-09-2012 08:42 PM |
convert rar to epub | chipa | Introduce Yourself | 4 | 03-04-2012 04:32 PM |
Adding .rar 'format' as rar. | Iocane | Calibre | 3 | 12-08-2011 09:48 AM |
RAR extension | postrof | General Discussions | 4 | 01-16-2011 10:08 PM |
funky rar | hogleg | HanLin eBook | 6 | 12-10-2007 02:41 AM |