samba 问题解决

问题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   /目录权限

 

samba技术网站:view-source:https://oregontechsupport.com/samba/

posted on 2019-05-07 12:08  状元兜里有糖  阅读(486)  评论(0编辑  收藏  举报

导航