SSHFS를 사용하여 드라이브 마운트

SSHFS를 사용하여 드라이브 마운트

우분투 12.04에서 sshfs를 사용하여 원격 드라이브를 마운트하려고 합니다.

나는 여기의 단계를 따릅니다: http://xmodulo.com/2013/04/how-to-mount-remote-directory-over-ssh-on-linux.html

하지만 성공적으로 한 후에 sshfsls

나는 얻다:

ls: cannot access sshdrive: Permission denied
total 8
drwxr-xr-x  4 root root 4096 Oct 30 09:10 ./
drwxr-xr-x 26 root root 4096 Apr 23  2013 ../
d?????????  ? ?    ?       ?            ? sshdrive/

내 문제를 어떻게 해결할 수 있나요?

답변1

usermod를 수행한 후 그룹 멤버십 변경이 적용되는지 확인하십시오.

이를 위해 다음을 실행할 수 있습니다.

$ exec su -l $USER

또는 로그아웃했다가 다시 로그인할 수도 있습니다.

관련 정보