Re: Shared highscore data
Re: Shared highscore data
- Subject: Re: Shared highscore data
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 17 Jan 2003 10:03:13 -0800
I think the /Users/Shared directory is what you're looking for. It
should be world read/writeable.
Daniel
On Thursday, January 16, 2003, at 08:51 PM, David Remahl wrote:
Hi.
I am in the process of porting a simple game from Linux to Mac OS X. I
have ran into a slight problem related to highscores...I would like
highscores to be shared among all users of the machine. Therefore, I
want to save the data in a common folder.
However, there are no folders that are world-writable in the default
install...Gnome, for example, has a special directory where all have
write access where the highscore data is stored. How would I attack
this problem on Mac OS X?
One solution that I see, is to require admin authentication (or that
the user is running as an admin already) the first time the highscore
file is created. I could then create a world-writable file in the
/Library/Application Support directory for my game...Is that the
recommended approach?
/ Rgds, David Remahl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.