I am executing the following command from my Linux machine.
cp -r hwweb-ws-5.0 /home/tomcat/hwweb-1/webapps/
It's displaying the following error:
cp: cannot create directory `/home/tomcat/hwweb-1/webapps/hwweb-ws-5.0': Permission denied
migrated from stackoverflow.com Oct 27 '11 at 18:03
This question came from our site for professional and enthusiast programmers.
and then type your super user password.
The other way is to change the owner or add your user to the owner group of the