[Mono-aspnet-list] could not execute linux shell script from asp.net application

RaviThapliyal thapliyal.ravi at gmail.com
Mon Jun 15 03:46:11 EDT 2009

linux-test:~ # su -
linux-test:~ # sudo -u wwwrun -s
wwwrun at linux-test:/root> ./morning
bash: ./morning: Permission denied
wwwrun at linux-test:/root>

i am getting "Permission denied"..   can you please explain me the reason
and the solution for it?

SeanBeeson wrote:
> You may see that you have a permissions problem if you run the script
> as the wwwrun user from the terminal. As Robert pointed out the user
> that mod_mono is running under needs permission to write where cat>
> foo.txt is trying to be written. As root su to the wwwrun user and
> then try your script. That may show you what the problem is.

View this message in context: http://www.nabble.com/could-not-execute-linux-shell-script-from-asp.net-application-tp23993353p24030096.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list