I am trying to log into the host manager , but I am unable to open the tomcat-users.xm file. When I right click it to open in editor it says permission denied.
Could not open the file /etc/tomcat6/tomcat-users.xml.
You do not have the permissions necessary to open the file.
The owner is root and I even tried doing some " sudo s " cmd to change my role.
I even tried emailing myself the file to another machine but the file wont email or zip up.
Try sudo chmod 777 /etc/tomcat6/tomcat-users.xml
first. If you want to edit it, you may need to sudo
that too: eg. sudo vim /etc/tomcat6/tomcat-users.xml
.
sudo chmod 777 /etc/tomcat6/tomcat-users.xml on ubuntu. just go back to your tomcat-users.xml file and double click, you will see it you have permission now.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.