
내 사용자는 다음에 속합니다.개발자사용자가 전화하자마자 그룹수코양이. 내가 할 때 ls -la /opt/tomcat/apache-tomcat-9.0.19
그것은 나에게 준다
total 160
drwxrwxr-x 11 tomcat developer 4096 mai 14 14:41 .
drwxr-xr-x 3 tomcat developer 4096 mai 13 14:07 ..
drwxrwxr-x 2 tomcat developer 4096 mai 14 14:41 backup
drwxrwx--- 2 tomcat developer 4096 mai 13 14:03 bin
-rw-rw---- 1 tomcat developer 19182 abr 12 11:26 BUILDING.txt
drwxrwx--- 3 tomcat developer 4096 mai 14 14:02 conf
-rw-rw---- 1 tomcat developer 5407 abr 12 11:26 CONTRIBUTING.md
drwxrwx--- 2 tomcat developer 4096 mai 13 14:03 lib
-rw-rw---- 1 tomcat developer 57092 abr 12 11:26 LICENSE
drwxrwx--- 2 tomcat developer 4096 mai 15 10:20 logs
-rw-rw---- 1 tomcat developer 2333 abr 12 11:26 NOTICE
-rw-rw---- 1 tomcat developer 3255 abr 12 11:26 README.md
-rw-rw---- 1 tomcat developer 6852 abr 12 11:26 RELEASE-NOTES
-rw-rw---- 1 tomcat developer 16262 abr 12 11:26 RUNNING.txt
drwxrwx--- 2 tomcat developer 4096 mai 15 12:10 temp
drwxrwx--- 8 tomcat developer 4096 mai 13 15:08 webapps
drwxrwx--- 3 tomcat developer 4096 mai 13 14:12 work
drwxrwxr-x 4 tomcat developer 4096 mai 14 14:41 wtpwebapps
하지만 내가 그렇게 하면 ls -la /opt/tomcat/apache-tomcat-9.0.19/conf
그것은 나에게 permission denied
. 무슨 일이 일어나고 있는지 아시나요?
업데이트: 추가 정보: 사용하면 pathlld /opt/tomcat/apache-tomcat-9.0.19/conf/
나에게 제공됩니다.
drwxr-xr-x 25 root root 4096 mai 15 12:30 /
/dev/sda8 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
drwxr-xr-x 7 root root 4096 mai 13 13:58 /opt
drwxr-xr-x 3 tomcat developer 4096 mai 13 14:07 /opt/tomcat
drwxrwxr-x 11 tomcat developer 4096 mai 14 14:41 /opt/tomcat/apache-tomcat-9.0.19
drwxrwx--- 3 tomcat developer 4096 mai 14 14:02 /opt/tomcat/apache-tomcat-9.0.19/conf
또 다른 이상한 행동은 내가 할 때 id rafael
나에게
uid=1000(rafael) gid=1000(rafael) grupos=1000(rafael),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare),130(libvirtd),130(libvirtd),1003(developer)
하지만 내가 id
다음으로 로그인 했을 때라파엘그것은 나에게 준다
uid=1000(rafael) gid=1000(rafael) grupos=1000(rafael),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare),130(libvirtd)
그룹이 없어도 같은 정보입니다개발자
답변1
도와주셔서 감사합니다. 컴퓨터를 종료하고 돌아와서 다시 시도했는데 모든 것이 예상대로 작동했습니다. 분명히 일부 프로세스를 완료하려면 시스템을 다시 시작해야 했습니다.