in ubuntu installed tomcat with sudo apt-get install tomcat7. File /var/lib/tomcat7/webapps/ROOT/index.html - read only How to multiply change files in webapps?
2 answers
Need to edit with superuser privileges
for example: sudo nano '/var/lib/tomcat7/webapps/ROOT/index.html'
- and more specifically if you can? sudo chmod a + rw index.html does not help - Mikhail Kolomiets
- the folder itself is in the possession of the root user, in order to edit files there, you need to launch the editor with this file as the superuser - Komdosh
- thank you sudo idea '/var/lib/tomcat7/webapps/ROOT/index.html' allowed to change =) - Mikhail Kolomiets
|
cd /var/lib/tomcat7/ sudo chmod -R 777 webapps |