Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-09-2017, 07:07 AM   #226
latepaul
Guru
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 849
Karma: 5677810
Join Date: Dec 2011
Device: a variety
Quote:
Originally Posted by sydmalicious View Post
The chmod command no longer works with this version of Kindle for Mac, 1.20.3. Just tried it. Fails.
What's the ownership and permissions on the file before and after?

i.e. what's the output of

Code:
ls -l /Applications/Kindle.app/Contents/MacOS/renderer-test
also while we're at it

Code:
file /Applications/Kindle.app/Contents/MacOS/renderer-test
Seems like the goal is to block execution of this file. If the chmod -x no longer does that it could be because it's being added back before execution. Another alternative is that the file isn't a binary - to execute a shell script you only need read permission. The file command would answer what type of file it is.

Now that I think of it, if the goal is to block execution and for K4Mac to see it's failed and therefore not use KFX then all you need is for renderer-test to always fail. Try this:

Code:
mv /Applications/Kindle.app/Contents/MacOS/renderer-test /Applications/Kindle.app/Contents/MacOS/renderer-test.orig
ln -s `which false` /Applications/Kindle.app/Contents/MacOS/renderer-test
That is rename the file and replace it with a link to the false executable (it's usually /bin/false but I wasn't sure on MacOS hence the backtick command)
latepaul is offline   Reply With Quote
Advert
Old 09-09-2017, 08:53 AM   #227
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 1,586
Karma: 12332297
Join Date: Nov 2011
Location: Florida
Device: iPad Air 2, Kindle PW2, Nexus 7, Fire 5th Gen
Quote:
Originally Posted by sydmalicious View Post
The chmod command no longer works with this version of Kindle for Mac, 1.20.3. Just tried it. Fails.
How does it fail? What is the error message produced? Is the error different if you use sudo?

(I wonder if the file name has changed or if it has been integrated into the main executable.)
jhowell is offline   Reply With Quote
Old 09-09-2017, 12:06 PM   #228
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 49,068
Karma: 40053823
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by lkmiller View Post
Not a Mac user myself, but those who tried that reported it prevented Kindle for Mac from running too. If it had worked, there wouldn't be different solutions for PC and Mac for "method 2" in the first post.
Why not try the rename and see what happens so you can report back?
JSWolf is online now   Reply With Quote
Old 09-09-2017, 02:00 PM   #229
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 620
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, iOS
Quote:
Originally Posted by dhdurgee View Post
Try it with sudo and see if that makes the difference.
Quote:
Originally Posted by sydmalicious View Post
Tried that. Still doesn’t work.
Did you do sudo chmod or just sudo alone?

The full command needs to be:
Code:
sudo chmod -x /Applications/Kindle.app/Contents/MacOS/renderer-test
odamizu is offline   Reply With Quote
Old 09-09-2017, 07:15 PM   #230
lkmiller
Laura
lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.
 
lkmiller's Avatar
 
Posts: 456
Karma: 7115274
Join Date: Nov 2009
Device: Kobo Aura ONE, Kindle Paperwhite 2, Onyx T68 Lynx, Nook Simple Touch
Quote:
Originally Posted by JSWolf View Post
Why not try the rename and see what happens so you can report back?
As I said, I don't have a Mac. I'm relating what others reported. Renaming it prevented Kindle for Mac from running.
lkmiller is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Kindle's KFX file format DeepVoid Library Management 14 04-21-2017 10:28 AM
updated calibre with a little help for kfx format cvkemp Amazon Kindle 0 10-06-2015 10:08 AM
Dealing with Multiple Calibre libraries samoanbiscuit Calibre Companion 4 08-27-2014 09:35 AM
Calibre not dealing with NookColor microSD card. john_es Calibre 15 01-15-2011 05:11 PM
Newbie dealing with eBooks and Calibre DUCKofD3ATH Calibre 7 11-17-2010 11:51 AM


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


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