After the Setup all subdirectories of the destination dicrectory got the rights of the destination dicrectory.
My applications needs in some subdirectories more rights as in the destination dicrectory.
Any idea ?
Posted 28 September 2001 - 13:05
Any idea ?
Posted 04 October 2001 - 22:50
This sample shows how to call the cacls tools in Windows NT 4 and 2000 to set access rights for directories on NTFS. You don't need to test to find out if the partition is NTFS or FAT - the command executes without doing anything on a FAT partition (since there are no NTFS permissions) - no error is returned (it hasn't been tested on a FAT32 partition). Of course you need to have Administrator rights.
Note: Some special user names are localized on different language versions of Windows, e.g. instead of "Everyone" you have to use "Jeder" in a German version of Windows, else this function will fail.
prototype NTFS_Fix();