Assigning NTFS security

  • Thread starter Thread starter Dany Marois
  • Start date Start date
D

Dany Marois

Hi,

We have a setup who install a software. Habitually this software was
install on FAT32 disk and we have no problem. But for the first time the
application is install on a NTFS disk.

The setup was install by the administrator of the system. When the
application start we want to put temporary file in a specific folder create
by the setup when we install the application. When the administrator of the
system start the application all work fine. But when an other user start
the application, they have a error of creation of file. They don't have the
right of create this file in the folder. We ask to the admistrator to add
manually in the security tab of this folder the full control right to a
specific group of user, and then the application work fine now for all.

We want to automate in our setup this attribution of right to a specific
folder create for our application. How can't we do that. There is a
command line that can do that, an API? We use VBScript in our setup.

Thank for your help.
 
Dany, yes there is, only I don't know the exact syntax.
If you go to the MSDN area of this site do a search in the
library for "assigning permissions", you may even be able
to specify NTFS in your search. Your results may give you
C++ solutions too, so try to keep to the scripting areas
of the code library.
 
Back
Top