为文件夹建立权限组 Posted on 2018-12-Mon Views: Views: 1234567sudo groupadd tomandrusersudo usermod -a -G tomandruser tomcat6sudo usermod -a -G tomandruser rusersudo chgrp -R tomandruser /path/to/the/directorysudo chmod -R 770 /path/to/the/directory然后需要退出重新登录。