> 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? >
As root do a ls -al on the directory you are trying to write the file in and you will most likely see that the wwwrun user does not have permission to write in that directory. A review of or introduction to Unix directory and file permissions should help you after this. The wwwrun needs to be able to write in the directory and have the right to exacute the script. Here is something you can read on those permissions: http://www.linux-tutorial.info/modules.php?name=MContent&pageid=225 --Sean
_______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
