Ubuntu系统,在MyEclipse中启动Tomcat时提示没有权限

来源:互联网 发布:左华健 软件 编辑:程序博客网 时间:2024/05/16 07:28

WARNING: Permissions incorrect, read permission is not allowed on the file.


#添加一个系统用户tomcat,并且设置为不可登录系统。 useradd -d /usr/tomcat6.0 -s /usr/sbin/nologin tomcat

设置用户tomcat对tomcat6.0目录的访问权限

chown -R tomcat:tomcat /usr/tomcat6.0/

chmod -R 777 /usr/tomcat6.0