Re: maybea silly question
- From: "expvb" <nobody@xxxxxxx>
- Date: Mon, 24 Nov 2008 22:29:25 -0500
"mayayana" <mayaXXyana@xxxxxxxxx> wrote in message
news:evZrmrpTJHA.4916@xxxxxxxxxxxxxxxxxxxxxxx
This time the explanation is quite clear.
Thanks from me.
Just one clarification: In cases where one
wants to save global settings for all users,
App Data won't work. The options seem to
be only the all users documents folder or a
custom folder with permissions specifically set.
Per user AppData is writable by the same user and there is no need to change
the permissions, but All Users AppData(CSIDL_COMMON_APPDATA) can be written
to by all users after setting the permission on your subfolder(See Q240176
if using PDW).
By default, CSIDL_COMMON_APPDATA is not fully read/write by all users, so
you must set the permission at install time. Here is a test I did to see
what can be done with the default permissions in XP Pro+SP2(This can change
in future versions of Windows):
Permissions tests on XP+SP2 for C:\Documents and Settings\All
Users\Application Data:
---------------------------------------------------------------------------
Default Windows:
- Power Users can modify files, and delete files and folders created by
Admins and Users.
- Member of the limited "Users" groups can create, modify, delete their own
files and folders only. They cannot overwrite files created by Admins, or
Power Users. They cannot delete or modify any files or folders created by
Admins, Power Users, or other members of the "Users" group.
After using Inno Setup to change the permissions on the subfolder with
"users-full" or "users-modify" flags:
- Full modify, delete, including folders.
Finally, all users documents(CSIDL_COMMON_DOCUMENTS) or Public folder in
Vista can be read and written to by all users, but it's usually for files
created by the user, such as DOC, BMP files, etc., not INI files, although
you can save INI files there, but some users may find it strange and may
give them a reason to stop using your program...
.
- Follow-Ups:
- Re: maybea silly question
- From: mayayana
- Re: maybea silly question
- References:
- maybea silly question
- From: Aldi Apperman
- Re: maybea silly question
- From: expvb
- Re: maybea silly question
- From: Lorin
- Re: maybea silly question
- From: mayayana
- maybea silly question
- Prev by Date: Re: Re-entrancy???
- Next by Date: Re: maybea silly question
- Previous by thread: Re: maybea silly question
- Next by thread: Re: maybea silly question
- Index(es):
Relevant Pages
|
Loading