vsftp用软链接遇到550错误
今天在公司ftp上,老大要在/usr/local/apache-tomcat-6.0.37/webapps/mbs/images同级再创建个series文件夹,也就是/usr/local/apache-tomcat-6.0.37/webapps/mbs下再创建个series文件夹,我想都没有想就说了两个解决办法,一个是再创建账户,一个就是用ln软链接到images下,老大就让我用软链接,没想到这就是问题的关键了,当建好软链接后,用ftp客户端测试发现报550 Failed to change directory.
解决办法:
1.进入/usr/local/apache-tomcat-6.0.37/webapps/mbs/images
cd /usr/local/apache-tomcat-6.0.37/webapps/mbs/images
2.创建series文件夹
mkdir series
3.执行mount --bind /usr/local/apache-tomcat-6.0.37/webapps/mbs/series series
再用ftp客户端进行测试,可以进series文件夹了,上传个文件,再到/usr/local/apache-tomcat-6.0.37/webapps/mbs/series里查看,是有文件的,好了问题解决.
解决办法:
1.进入/usr/local/apache-tomcat-6.0.37/webapps/mbs/images
cd /usr/local/apache-tomcat-6.0.37/webapps/mbs/images
2.创建series文件夹
mkdir series
3.执行mount --bind /usr/local/apache-tomcat-6.0.37/webapps/mbs/series series
再用ftp客户端进行测试,可以进series文件夹了,上传个文件,再到/usr/local/apache-tomcat-6.0.37/webapps/mbs/series里查看,是有文件的,好了问题解决.
评论: