Closed
Bug 394765
Opened 18 years ago
Closed 18 years ago
Add "common app data directory" to nsDirectoryService
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jwkbugzilla, Unassigned)
References
Details
Attachments
(1 file)
|
7.78 KB,
patch
|
benjamin
:
review-
|
Details | Diff | Splinter Review |
Currently we can get "\Document and Settings\<username>\Application Data" or "\Document and Settings\<username>\Local Settings\Application Data", there is no way to get to "\Document and Settings\AllUsers\Application Data". The patch adds this directory to nsDirectoryService as CmAppData.
Attachment #279467 -
Flags: review?(benjamin)
Comment 1•18 years ago
|
||
What do you want to do with this directory? I can understand, perhaps, \Documents and Settings\All Users\Desktop or quicklaunch or start menu, but the Application Data subdirectory?
| Reporter | ||
Comment 2•18 years ago
|
||
It is for TomTom HOME - some files that are downloaded from the Internet should be accessible to all users. The default install location is application's install directory, but since this one isn't always writable we need a fallback location.
Comment 3•18 years ago
|
||
Comment on attachment 279467 [details] [diff] [review]
Patch
All Users is also not always writable: it's typically writable only by administrators. I don't think I want to take this patch: you can pretty easily include an XPCOM component in your app to do the same thing.
Attachment #279467 -
Flags: review?(benjamin) → review-
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Comment 4•18 years ago
|
||
Personally, I think that any such "symbolic" directory should be resolvable in XULRunner - otherwise, it's almost impossible to get there from JS code, in case you need it for whatever reason.
For TomTom HOME, we'll probably just use the profile for now.
You need to log in
before you can comment on or make changes to this bug.
Description
•