PDA

View Full Version : How do I change permissions on a subdirectory?



Unregistered
02-23-2008, 08:37 AM
When installing data files to a directory under CSIDL_COMMON_APPDATA (eg. C:\ProgramData on Vista), I need to set at install time those subdirectories to be writable by ordinary user accounts. How do I do this? Thanks.

Philip

linder
02-24-2008, 04:03 AM
Philip,

The "Set Access Control..." function provides support for ACL. You can set NTFS (NT file system) permissions for files, folders and registry keys. You set permissions for a specific user and you can create sets of permissions for multiple users. Set permissions only if you know the user names and domains of users who install this installation.

Does his help?

Friedrich

Unregistered
02-24-2008, 06:04 AM
Yep, I found the Set Access List function, thanks.

Philip

linder
02-24-2008, 06:59 AM
Great :)

Friedrich