Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2008 Apr : Changing owner of a file in Windows VISTA

www.cryer.info
Managed Newsgroup Archive

Changing owner of a file in Windows VISTA

Subject:Changing owner of a file in Windows VISTA
Posted by:"Roberto Nicchi" (softwa..@masterinformatica.net)
Date:Tue, 29 Apr 2008 17:45:57

I need to change the owner of a file or add a user in the permission list of
a file.

The situation is that i create a file in my setup program. The file have
owner administrator and can't be changed in my application.

So in my setup program i need to grant read/write to the current user after
the file has been created.

Thank you

P.S. hope this is the right group for this question.

Replies:

www.cryer.info
Managed Newsgroup Archive