這個問題實在很有趣,以前很少把自己的硬盤塞到滿過

想不到現在為了我的數據,竟然可以塞到20G,只好向另一顆500G求救 Orz

原來ftpd在使用chroot後,就不允許symbolic links

詳解

http://pureftpd.sourceforge.net/FAQ

Making a symbolic link won't work, because when you are chrooted, it means
that everything outside a base directory (your user's home directory) won't
be reachable, even though a symbolic link.

But all modern operating systems can mount local directories to several
locations. To have an exact duplicate of your /var/incoming directory
available in /home/john/incoming and /home/joe/incoming, use one of these
commands:

 

* Linux   : mount --bind /var/incoming /home/john/incoming
mount --bind /var/incoming /home/joe/incoming
* BSD     : mount_null /var/incoming /home/john/incoming
mount_null /var/incoming /home/joe/incoming


 

創作者介紹
創作者 igogo 的頭像
igogo

牛大叔.生活隨筆

igogo 發表在 痞客邦 留言(0) 人氣()