But why call a directory ProgramData when you can't use it for data?

On my copy of Win 7 SP 1, C:\ProgramData is hidden by default. There is no such folder on XP. XP Has \Documents and Settings\All Users\Application Data, which some people say is the equivalent of C:\ProgramData.

I can't agree with that contention, because default permissions for stuff inside \Documents and Settings\All Users\ have always been less restrictive than for anything in the root directory. They are not equivalent.

I have seen it said that C:\ProgramData on Vista and later is the equivalent of what used to be called the "All Users Profile":

http://superuser.com/questions/405097/are-c-programdata-and-c-users-all-users-the-same-do-i-need-both

If I install my VFP software to a folder in the root, then I avoid Vista-and-later "virtualization" issues; my software can actually write to that location. However, I still have to grant "Modify" permissions to that location before a "restricted" user can run the software.

C:\ProgramData is in the root of C:. I would expect to have to explicitly assign "Modify" rights to directories inside that location for restricted users in order for them to run code that writes to that location.

Ken Dibble
www.stic-cil.org

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to