Dondariadmin (トーク | 投稿記録) (ページの作成: == sshfsでリモートホストのファイルシステムをマウント == * 環境 ** CentOS 5 == fuse,fuse-sshfsパッケージインストール == # yum install -y fuse...) |
Dondariadmin (トーク | 投稿記録) |
||
47行目: | 47行目: | ||
* マウント成功 | * マウント成功 | ||
+ | |||
+ | == アンマウント == | ||
+ | |||
+ | $ fusermount -u remote |
# yum install -y fuse fuse-sshfs
Installed: fuse.i386 0:2.7.4-8.el5 fuse-sshfs.i386 0:2.2-5.el5 Complete!
$ mkdir remote $ sshfs user@remotehost: remote/ user@remotehost's password: fuse: failed to exec fusermount: Permission denied
$ rpm -ql fuse /bin/fusermount
$ ls -l /bin/fusermount -rwsr-x--- 1 root fuse 21076 9月 4 2009 /bin/fusermount
$ sudo chmod o+rx /bin/fusermount
$ ls -l /bin/fusermount -rwsr-xr-x 1 root fuse 21076 9月 4 2009 /bin/fusermount
$ sshfs user@remotehost: remote/
$ fusermount -u remoteTweet