Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-01-2012, 07:57 AM   #1
Dirk2718
Enthusiast
Dirk2718 has learned how to buy an e-book online
 
Posts: 30
Karma: 88
Join Date: Apr 2012
Device: Kindle Touch (5.1.0)
nano: no write permission

Hallo!

I installed the extend tools successfully. Now I want to edit the file "/usr/share/webkit-1.0/pillow/debug_cmds.json" with the nano editor. But I have no write permission on this file, although my permissions for this file are "-rw-r--r-- 1 root root 1567 Apr 5 05:01 debug_cmds.json". So I think I should have read and write permission. Why I´m unable to edit this file?

Thank you and best regards
Dirk
Dirk2718 is offline   Reply With Quote
Old 06-01-2012, 08:02 AM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Dirk2718 View Post
Hallo!

I installed the extend tools successfully. Now I want to edit the file "/usr/share/webkit-1.0/pillow/debug_cmds.json" with the nano editor. But I have no write permission on this file, although my permissions for this file are "-rw-r--r-- 1 root root 1567 Apr 5 05:01 debug_cmds.json". So I think I should have read and write permission. Why I´m unable to edit this file?

Thank you and best regards
Dirk
Is the filesystem mounted read-only?
That would prevent you from writing to any file in that filesystem.
knc1 is offline   Reply With Quote
Advert
Old 06-01-2012, 08:07 AM   #3
Dirk2718
Enthusiast
Dirk2718 has learned how to buy an e-book online
 
Posts: 30
Karma: 88
Join Date: Apr 2012
Device: Kindle Touch (5.1.0)
I mounted it. When I try to unmount it, I get:
Code:
[root@kindle pillow]# /mnt/us/extend/unmount.sh
ioctl: LOOP_CLR_FD: Device or resource busy
ioctl: LOOP_CLR_FD: Device or resource busy
ioctl: LOOP_CLR_FD: Device or resource busy
ioctl: LOOP_CLR_FD: Device or resource busy
ioctl: LOOP_CLR_FD: Device or resource busy
But how do I call an option to mount it read-only or writable?

Best regards
Dirk
Dirk2718 is offline   Reply With Quote
Old 06-01-2012, 08:12 AM   #4
Zema
Member
Zema began at the beginning.
 
Posts: 10
Karma: 12
Join Date: May 2012
Device: Kindle Touch
Try command
Code:
mntroot rw
Zema is offline   Reply With Quote
Old 06-01-2012, 08:13 AM   #5
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
it's the "ro" or "rw" mount options (typically, that is). I didn't bother to look deeper into the extend scripts, but typically, you
- check how partitions are mounted by looking in /proc/mounts (cat /proc/mounts),
- remount a partition read/write that is already mounted read-only: mount -o remount,rw /dev/... /mnt/...
hawhill is offline   Reply With Quote
Advert
Old 06-01-2012, 08:15 AM   #6
Dirk2718
Enthusiast
Dirk2718 has learned how to buy an e-book online
 
Posts: 30
Karma: 88
Join Date: Apr 2012
Device: Kindle Touch (5.1.0)
Quote:
Originally Posted by Zema View Post
Try command
Code:
mntroot rw
Thank you! That works.
Dirk2718 is offline   Reply With Quote
Old 06-01-2012, 08:20 AM   #7
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Is this machine the one described in your user information block? (KT-v5.1.0)
I don't own one of those myself, but ...

I often see the use of a non-standard command in the various de-bricking and modification threads.
As if there exists something that takes care of all the details for a user.
You could browse those threads for how to spell and use it. I don't trust my memory enough about it to mis-quote its use here.

But as a general note -
You don't have to umount/mount a file system to change ro/rw or rw/ro
There is an option for that "mount -o remount,rw ..." or "mount -o remount,ro ..."

And a note to all readers:
The man(ual) command is your friend. If you don't have a Linux (or any *nix) system with the documentation installed, google knows it also:
google: man mount

EDIT:
I see that two members beat me to it, giving you the exact, Kindle specific, details.
Too bad we can't delete these posts ourselves... Oh, well...

Last edited by knc1; 06-01-2012 at 08:24 AM.
knc1 is offline   Reply With Quote
Old 06-01-2012, 08:27 AM   #8
Dirk2718
Enthusiast
Dirk2718 has learned how to buy an e-book online
 
Posts: 30
Karma: 88
Join Date: Apr 2012
Device: Kindle Touch (5.1.0)
Yes it is the KT with OTA 5.1.0.

After I read the command from Zema, I restarted putty and at the top a big notice field appears, which I obviously missed the first time. This field even contains the info to switch to writable with "mntroot rw".

Sorry and thanks!
Dirk2718 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH: ebook-convert: obviate need for write permission in source directory Egnaled Knarf Development 7 02-17-2012 06:02 AM
permission problem with 0.8.26 jeanp319 Devices 1 11-17-2011 11:06 AM
Write Permission wtw1936 Library Management 2 09-21-2011 12:40 AM
Do you need permission to write about public places? ficbot Writers' Corner 14 12-28-2009 09:58 AM
Write Fast, Write Slow? Moejoe Writers' Corner 14 03-25-2009 09:55 AM


All times are GMT -4. The time now is 03:22 AM.


MobileRead.com is a privately owned, operated and funded community.