can't save changes in Safari

42 views
Skip to first unread message

bradley...@gmail.com

unread,
Aug 22, 2007, 2:53:45 PM8/22/07
to TiddlyWiki
I'm running Safari 2.0.4 under OSX Tiger, and am trying to set up
TiddlyWiki, but am unable to save changes. I've done the following:

* downloaded (made a local copy) of the empty.html file
* downloaded and installed the plugin from this site:
http://www.accela.net/~dankna/tiddlywiki/
* created a .java.policy file with the following lines:
grant codeBase "file:${user.home}/Documents/tiddlywiki-folder/*" {
permission java.io.FilePermission "${user.home}${/}Documents$
{/}tiddlywiki-folder${/}*", "read,write";
};

Depending upon the locations of empty.html and .java.policy, I either
get "It's not possible to save changes" or "failed to save backup
file" followed by "Failed to save main TiddlyWiki file. Your changes
have not been saved" when I try to "save changes" from inside the
file.

I may well have missed something, but I've been unable to get a
working configuration based upon the tiddlywiki site or other
postings. Thanks in advance for any pointers.

MarkCornwell

unread,
Aug 22, 2007, 5:56:15 PM8/22/07
to TiddlyWiki
I have just about the same configuration you describe and am seeing
the
very same behavior. The message I get the same messages.

I am in the same boat as you. It not at all clear how to proceed.

I am familiar with java policy files having done Java web develoment
for a few years. I edited the policy file so that the paths match the
folder where my wiki folder and TiddlySaver.jar reside.

At least I am not alone. Has anyone out there run successfully with
Safari on Mac OS X?

On Aug 22, 2:53 pm, "bradleydkeis...@gmail.com"

MarkCornwell

unread,
Aug 22, 2007, 6:25:33 PM8/22/07
to TiddlyWiki
Got it working! My problem was that my .java.policy file was not
saved where I thought it was.

My suggestion is to

* make sure the .java.policy file is in the your home directory under /
Users/youname
* make sure the path in your policy file matches where you put your
empty.html and TiddlySave.jar files.

E.g.

Serenity:~ mark$ cat .java.policy
grant codeBase "file:${user.home}/Documents/RamsesWiki/*" {


permission java.io.FilePermission "${user.home}${/}Documents$

{/}RamsesWiki${/}*", "read,write";
};

And it works fine for an empty.html saved in ~/Documents/RamsesWiki
folder

The backups even work.

Hope this helps.

Serenity:~ mark$ ls Documents/RamsesWiki
Fer05c.pdf empty.20070822.2216230592.html
empty.html
TiddlySaver.jar empty.20070822.2216540318.html
Serenity:~ mark$

schilke

unread,
Aug 23, 2007, 3:05:08 AM8/23/07
to TiddlyWiki
nice little tutorial - someone with a bit more knowledge of OS X (than
me) should put it at a proper place of the docs http://tiddlywiki.org/wiki/

On Aug 23, 12:25 am, MarkCornwell <m...@cornwell.net> wrote:
> Got it working! My problem was that my .java.policy file was not
> saved where I thought it was.

...

bradley...@gmail.com

unread,
Aug 27, 2007, 2:45:56 PM8/27/07
to TiddlyWiki
Thanks for posting. When I follow these steps, it works.
Reply all
Reply to author
Forward
0 new messages