![Samba は指定されたディレクトリ以外のファイルを拒否できますか?](https://rvso.com/image/568271/Samba%20%E3%81%AF%E6%8C%87%E5%AE%9A%E3%81%95%E3%82%8C%E3%81%9F%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E4%BB%A5%E5%A4%96%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E6%8B%92%E5%90%A6%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%81%8B%3F.png)
OS:debian 6.0.3 カーネル:2.6.32-5-adm64 samba 3.6.1 これが私のsmb.confです
[global]
workgroup = Workgroup
server string = Share Server
hosts allow = 192.168.1.0/24
wins support = yes
dns proxy = no
name resolve order = wins host lmhosts bcast
interfaces = eth0
bind interfaces only = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 1000
syslog = 0
security = user
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix extensions = no
printcap name = /etc/samba/printcap
load printers = no
config file = /etc/samba/smb.conf.%U
[fileshare]
comment = File Share
path = /home/fileshare
read only = no
valid users = @files
browseable = no
writable = yes
write list = @files
create mask = 644
directory mask = 755
guest ok = no
hide dot files = yes
follow symlinks = yes
wide links = yes
veto files = /*.exe/*.com/*.dll/*.mp3/*.avi/*.mkv/*.msi/
現在、ユーザーは /home/fileshare 上の exe ファイルの読み取り/書き込みができません。/home/fileshare/soft dir を制限しないようにしたいです。共有タグを追加すればそれができるのはわかっています。例:
[soft]
comment = software dir
path = /home/fileshare/soft
read only = no
valid users = @files
browseable = no
writable = yes
write list = @files
create mask = 644
directory mask = 755
guest ok = no
hide dot files = yes
follow symlinks = yes
wide links = yes
しかし、//samba-server/soft ではなく、//samba-server/fileshare/soft にログインしたいのですが、何かアイデアはありますか?