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
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