[Mono-aspnet-list] could not execute linux shell script from asp.net application
seanbeeson at gmail.com
Fri Jun 12 22:46:30 EDT 2009
On Fri, Jun 12, 2009 at 9:08 PM, RaviThapliyal<thapliyal.ravi at gmail.com> wrote:
> there is no such exception. the application does nothing.
> when i run shell script from linux terminal.. empty file is being created,
> but through asp.net application it is not working.
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.
More information about the Mono-aspnet-list