Re: Cocoa vs User: 0 - 1
Re: Cocoa vs User: 0 - 1
- Subject: Re: Cocoa vs User: 0 - 1
- From: Rosyna <email@hidden>
- Date: Sat, 17 Apr 2004 05:14:14 -0700
Sounds like it could be a bug in the API (or the
application). NSBundle -mainBundle should return
where ever the application is currently located.
If it is moved, it should reference the new
location. It is possible the application
developer is caching this value or that Cocoa is
caching the value (when it shouldn't be, or if it
does it should be using an FSRef internally as
NSDocument does).
The main bug is that a user can move his own home
folder or rename the home folder to just change
the case. That should be denied no matter what
the case (because it never updates NetInfo and
path comparison doesn't always seem to be
case-insensitive on volumes that are).
Ack, at 4/17/04, Stiphane Sudre said:
- is this a bug in the API?
- is this a bug in the Application itself
even-though it's just using the recommended APIs?
- is this a bug in the Finder and Terminal: an
user should not be allowed to move an
application while it's running?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
_______________________________________________
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.