Portal Home > Knowledgebase > Articles Database > trange thing with permission on windows 2003


trange thing with permission on windows 2003




Posted by tomasr, 03-05-2008, 03:08 PM
Hi, I noticed very strange file permission behaviour, which not always intherid child permission from parent. Detailed problem description is below. I have "c:\File" directory with IUSR permission. If I run one .NET application(exe) from Administrator account and try to create new file with that application in c:\File directory, the newly created file with that application do not has IUSR permission. If I run notepad and save txt file into that directory, it has IUSR permission. Can anyone explain what is going on? Why file created with first .NET aplication do not inherit permission from folder? Regrads, Tomas

Posted by Number09, 03-06-2008, 10:25 AM
Hi Tomas, If configured the child should always inherit the permissions of the parent, could it be that files with IUSR permissions have been created by the IUSR user and as such have permission as the file owner, whereas files created by your .net application will have the permissions of the .net worker process. Do you have identity impersonate enabled in your machine.config/web.config? Otherwise I think the .net application will be running as NETWORK SERVICE I hope this is of some help.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Need HELP ASAP!!!! (Views: 841)
SingleHop Down? (Views: 812)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.