smb共享的文件夹在windows登陆是匿名的,我建了一个文件夹,权限是777,用于存放下载文件,但是奇怪的事情发生了:
我如果复制文件进去文件夹,可以正常写入,也可以删除。但如果我是用BT直链下载电影到该文件夹后,我在windows访问的界面可以读取文件,但却无法删除,我只有进到HINAS的”文件管理器“界面才能删除下载的文件。
请问这是啥原因?附上我的Smb配置文件设置
server string = %h server (Samba, Ubuntu)
client min protocol = NT1
server min protocol = NT1
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
pam password change = yes
map to guest = bad user
display charset = utf-8
unix charset = utf-8
dos charset = UTF-8
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[downloads]
path = /home/ubuntu/downloads
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
browseable = yes
[sda1]
path = /mnt/sda1
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
browseable = yes
[sdb1]
path = /mnt/sdb1
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
browseable = yes
[victor]
path = /mnt/sda1/victor
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
browseable = yes