Answer the question
In order to leave comments, you need to log in
How to make windows service make files with user rights?
There is a self-written Windows service. It works fine, but the files it creates are read only from the admin account.
What to do with it?
Answer the question
In order to leave comments, you need to log in
A bunch of options. For example, create a folder with the necessary rights and write to it. The second option is to run the service on behalf of the account. The third hardest thing is to list the ACL and add it to the file.
obviously you need a script with admin rights that will change the rights of the generated files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question