Zmodyfikowałem plik /tmp/etc/smb.conf, wcześniej robiłem to samo z plikiem /etc/smb.conf Za każdym razem efekt był ten sam czyli po wypięciu i ponownym wpięciu dysku do portu usb moja konfiguracja znika i powraca domyślna.
kod pliku smb.conf :
Code:
global]
interfaces = br0
bind interfaces only = yes
workgroup = 71
server string = WL500gpv2
netbios name = serwer
socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 IPTOS_LOWDELAY
read raw = yes
write raw = yes
getwd cache = yes
write cache size = 65536
dead time = 5
keep alive = 5
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = yes
preserve case = yes
short preserve case = yes
client code page = 852
coding system = utf8
[glowny]
comment = Katalog glowny
path = /tmp/mnt/disc0_3
writable = yes
browseable = yes
force user = admin
host allow = 192.168.0.11
127.0.0.1
[instalki]
comment = Katalog z instalkami
path = /tmp/mnt/disc0_3/instalki
writable = yes
browseable = yes
force user = admin
oplocks = True
level2 oplocks = True
hosts allow = 192.168.0.
127.0.0.1
[pub]
comment = Katalog publiczny
path = /tmp/mnt/disc0_3/ftp/pub
writable = yes
browseable = yes
force user = admin
oplocks = True
level2 oplocks = True
hosts allow = 192.168.0.
127.0.0.1
[bolek]
comment = Katalog prywatny Bolka
path = /tmp/mnt/disc0_3/ftp/bolek
writable = yes
browseable = yes
force user = admin
oplocks = True
level2 oplocks = True
hosts allow = 192.168.0.13
192.168.0.14
192.168.0.4
127.0.0.1
[gosia]
comment = Katalog prywatny Gosi
path = /tmp/mnt/disc0_3/ftp/gosia
writable = yes
browseable = yes
force user = admin
oplocks = True
level2 oplocks = True
hosts allow = 192.168.0.12
127.0.0.1
[pawel]
comment = Katalog prywatny Gosi
path = /tmp/mnt/disc0_3/ftp/pawel
writable = yes
browseable = yes
force user = admin
oplocks = True
level2 oplocks = True
hosts allow = 192.168.0.11
127.0.0.1