Home | 簡體中文 | 繁體中文 | 雜文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品與服務 | Email

11.15. ftp fs

安裝

sudo apt-get install curlftpfs
	

掛載

sudo curlftpfs ftp://username:password@172.16.0.1 /mnt/ftp
	

卸載

sudo fusermount -u /mnt/ftp
	

權限設置

sudo curlftpfs -o rw,allow_other,uid=500,gid=500 ftp://neo:chen@172.16.1.1 /mnt/ftp
sudo curlftpfs ftp://host/sub_dir mount_point -o user="ftp_username:ftp_password", uid=user_id, gid=group_id, allow_other
	

fstab 開機自動掛載

sudo echo "curlftpfs#username:password@172.16.0.1 /mnt/ftp fuse allow_other,uid=userid,gid=groupid 0 0" >> /etc/fstab
	
comments powered by Disqus