I have a user interface that is running as a normal user.
The user interface communicates via tcp/ip with a server component running as a windows service.
The service runs as local system.
My problem is that the service creates new folders under "ProgramData\MyApp". These new created files and folders cannot be opened by a normal user as they were create by "System".
During setup process the permissions of the directory "ProgramData\MyApp" are already altered so that everyone has full access. But it is not inherited by subfolders created by the service.
Should the service alter the permissions of created files and folders? Or can i prepare the "ProgramData\MyApp" folder to allow everyone to access new created files and folders?
FIXED: My problem was that the files with wrong rights were copied from the temp directory. The rights from the temp directory have been inherited...