Я сопоставил две директории как общие папки Samba.
Я хочу предоставить пользователю доступ к site1, но не к www.
Как это достигается?
[global]
workgroup=WORKGROUP
server string = Samba Server Version %v
# interfaces = lo wlan0 192.168.0.1/24
hosts allow = 127. 192.168.0.
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
# security = auto
# server role = standalone
[www]
comment = Apache WWW Directory
path = /var/www
read only = no
force create mode = 0775
create mask = 0775
force directory mode = 0775
create directory = 0775
[site1]
comment = Bidjunction Lib Directory
path = /var/www/site1
read only = no
force create mode = 0775
create mask = 0775
force directory mode = 0775
create directory = 0775