6/11/2023 0 Comments Open iis using command promptThe first issue was when I tried to change the permissions on cmd but the buttons were locked. That’s not the case when you try to set permissions on the cmd.exe and Windows is not so permissive (and this is a good thing!). Usually, when you want to give permissions (for instance to files of folders) you just have to add the IUSR user (or the IIS_IUSRS group) and everything goes smooth. ![]() However, this was not the piece of cake I thought. In order to make it work I had to add permissions on cmd.exe to the IIS user. In order to do so you’ll need to set permissions to the user that runs your website or application.īefore I move on, I should stress that setting incorrect permissions (or setting permissions when you don’t need them) to cmd.exe is a liability and should be avoidedĪ while ago I was working on a project that allowed users to run Composer commands directly from the browser. ![]() There may be times when you’ll want your website or application to run commands while being served by IIS.
0 Comments
Leave a Reply. |