问题1:使用cifscreds 命令提示
You already have stashed credentials for
bash-4.2$ cifscreds add 172.24.8.11 You already have stashed credentials for 172.24.8.11 (172.24.8.11) If you want to update them use: cifscreds update bash-4.2$ cifscreds clear 172.24.8.11 bash-4.2$ cifscreds add 172.24.8.11 Password: bash-4.2$ cd /mnt/dev
解决办法:清理掉上一次的缓存,cifscreds clear 172.24.8.11,然后重新cifscreds add即可成功
限制文件上传权限
https://www.cnblogs.com/liuquan/p/5644760.html
[ftp]
path = /var/ftp
write list = root
browseable = yes
writeable = yes
create mask = 0666 /文件权限
directory mask = 0777 /目录权限