linux-test:~ # su -
linux-test:~ # sudo -u wwwrun -s
www...@linux-test:/root> ./morning
bash: ./morning: Permission denied
www...@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.

_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to