Take the 2-minute tour ×

Inherited the maintenance of an existing ASP.net (C#) web based system. It is running on Windows Server 2003 with IIS 6.

PDF files are generated via a background process - Omniformat. It runs as a scheduled task and creates PDF files from html files. For some reason it doesn't inherit the permissions of the folder that it is in, or from thethe html file it was generated from. This means that web users can not access the files.

Can anyone help me out please? Is there a way to force a created file to inherit the permissions of the folder it is in?

Many thanks.

share|improve this question
if you look in the processes what user is Omniformat running under? –  jer.salamon Jul 26 '10 at 20:35
add comment

1 Answer

The file should do that automatically, unless the OmniFormat is creating the files somewhere else, like say a temp folder they moving the files into place. The solution would be to either change the rights to the temp folder, or add a step to the process so that after the files are created to reset the rights.

share|improve this answer
It doesn't appear to create the files in a temporary folder unfortunately –  Craig Jul 27 '10 at 8:07
How are the permissions being created? What account is the omniformat app running under? –  mrdenny Jul 28 '10 at 2:25
add comment

Your Answer

