PDA

View Full Version : Csidl_common_appdata



NewsArchive
12-12-2014, 03:27 AM
In the SB8 docs, it says this: "CSIDL_COMMON_APPDATA-The file system
directory containing application data for all users. This folder under
Vista is not writable by regular users. (Version 5.0)"

If this is actually true, where can I put data that is writable by all
users? Would that be CSIDL_COMMON_DOCUMENTS instead?



Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

NewsArchive
12-12-2014, 03:28 AM
>>Would that be CSIDL_COMMON_DOCUMENTS instead?

That's what I use.

Paul MacFarlane

NewsArchive
12-12-2014, 03:29 AM
G'day Jeff

I create sub-folders under CSIDL_COMMON_APPDATA as needed by my programs, and set the
permissions using SB. That works well, and luckily the data files get included in
their backups.

You could also do it under CSIDL_COMMON_DOCUMENTS. But are they "documents" or DATA ?
Courses for horses.

JohnG

NewsArchive
12-12-2014, 03:29 AM
Thanks John and thanks Paul.

Pretty sure that I'm not going to mess around with permissions on
these machines. So maybe they really are documents, after all. <g>

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

NewsArchive
12-14-2014, 09:56 AM
Hi Jeff,

> In the SB8 docs, it says this: "CSIDL_COMMON_APPDATA-The file system
> directory containing application data for all users. This folder under
> Vista is not writable by regular users. (Version 5.0)"
>
> If this is actually true, where can I put data that is writable by all
> users? Would that be CSIDL_COMMON_DOCUMENTS instead?

I would use local appdata for settings and such but documents - either
personal or common - as suggested path for data. I use this in BA and
haven't had a problem with it that I can recall. Local appdata should
be writable by the user, but then you do have settings for each user not
the whole machine.

I think much of what I wrote back in 2008 about data under Vista is
still true: http://www.icetips.com/blog/index.php/2008/10/31/title

However, I say in that article that all users have access to the data in
COMMON_APPDATA, but I'm not clear on the read-write access. I trust
Friedrich's information better than my own in this regard, but all users
should have _read_ access to COMMON_APPDATA.

Best regards,

--
Arnor Baldvinsson - Icetips Alta LLC

NewsArchive
12-14-2014, 09:58 AM
Thanks Arnor. I'll check it out.

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.