![CIFS를 사용하여 원격 '/'에 액세스하는 데 어려움이 있음](https://rvso.com/image/1481850/CIFS%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EC%9B%90%EA%B2%A9%20'%2F'%EC%97%90%20%EC%95%A1%EC%84%B8%EC%8A%A4%ED%95%98%EB%8A%94%20%EB%8D%B0%20%EC%96%B4%EB%A0%A4%EC%9B%80%EC%9D%B4%20%EC%9E%88%EC%9D%8C.png)
다른 Linux 시스템의 루트 디렉터리에 액세스하는 데 문제가 있습니다. 내 fstab에는 문제의 컴퓨터에 대한 두 개의 항목이 있습니다
//ltotto/root /mnt/ltroot cifs auto,users,credentials=/home/otto/.smbcredentials,uid=otto,gid=otto,file_mode=0770,dir_mode=0770,iocharset=utf8 0 0
//ltotto/otto /mnt/ltotto cifs auto,users,credentials=/home/otto/.smbcredentials,uid=otto,gid=otto,file_mode=0770,dir_mode=0770,iocharset=utf8 0 0
즉, 둘 다 동일한 자격 증명을 사용하여 동일한 시스템에 연결됩니다. 다른 컴퓨터에는 각각 '/' 및 '/home/otto'에 대한 두 개의 Samba 공유 'root' 및 'otto'가 있으며 둘 다 사용자 otto에 대한 쓰기 권한이 있습니다.
둘 다 오류 없이 장착되었으며 'otto' 마운트는 완벽하게 작동합니다. 그러나 '루트' 마운트가 문제입니다.
ls -la /mnt/ltroot/
ls: /mnt/ltroot/var: Permission denied
ls: /mnt/ltroot/lib64: Permission denied
ls: /mnt/ltroot/cdrom: Permission denied
[etc]
왜 홈 마운트는 괜찮고 루트 마운트는 그렇지 않은지 이해할 수 없습니다. 누구든지 해결책을 설명하고 제안할 수 있습니까?
참고: 이 구성은 최근까지 완벽하게 작동했다고 확신합니다.
편집: 원격 시스템의 Samba 구성:
[root]
comment = file system root
path = /
writeable = yes
; browseable = yes
valid users = otto
[otto]
path = /home/otto
writeable = yes
; browseable = yes
valid users = otto
comment = otto's Home