Помогите разобраться, плиз. Бьюсь с настройками samba на ubuntu 14.04. Не могу получить доступ к папкам по записи с компьютера на Windows 7. По чтению - могу, а по записи - нет.
Вот список папок сервера с правами:
drwxrwxrwx 14 oleg oleg 4096 апр. 2 17:56 .
drwxrwxrwx 3 root root 4096 февр. 10 2016 ..
drwxrwx--- 21 oleg trust_users 4096 янв. 29 16:08 _Archive
drwxrwxr-x 15 oleg smb_users 4096 янв. 26 18:49 _Cinema
drwx------ 10 oleg trust_users 4096 февр. 18 17:51 _Fm
drwxrwxr-x 6 oleg smb_users 4096 янв. 26 20:12 _Library
drwxrwxrwx 2 oleg oleg 16384 февр. 4 2016 lost+found
drwxrwxr-x 10 oleg smb_users 4096 апр. 8 2016 _Music
drwxrwxr-x 7 oleg trust_users 4096 февр. 6 2016 _Photo
drwxrwxrwx 2 oleg smb_users 4096 апр. 6 08:06 __Public
drwxrwxr-x 65 oleg smb_users 4096 янв. 26 18:21 _Soft
drwxrwxr-x 7 oleg smb_users 4096 июля 11 2016 _Sport
drwx------ 4 root root 4096 апр. 2 17:56 .Trash-0
drwxrwxrwx 4 oleg oleg 4096 февр. 5 2016 .Trash-1000
Вот результат smbstatus:
Samba version 4.3.11-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
15679 oleg oleg 192.168.100.1 (ipv4:192.168.100.1:51447) SMB2_10
Service pid machine Connected at
-------------------------------------------------------
_Fm 15679 192.168.100.1 Thu Apr 6 23:43:24 2017
__Public 15679 192.168.100.1 Thu Apr 6 23:43:03 2017
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
15679 1000 DENY_NONE 0x100081 RDONLY NONE /mnt/main_raid5/_Fm . Thu Apr 6 23:43:24 2017
15679 1000 DENY_NONE 0x100081 RDONLY NONE /mnt/main_raid5/__Public . Thu Apr 6 23:43:03 2017
Вот сообщение testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Processing section "[_Fm]"
Processing section "[_Archive]"
Processing section "[_Cinema]"
Processing section "[_Library]"
Processing section "[_Music]"
Processing section "[_Photo]"
Processing section "[__Public]"
Processing section "[_Soft]"
Processing section "[_Sport]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = KV170_NET
server string = %h server (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[_Fm]
comment = Fm
path = /mnt/main_raid5/_Fm
valid users = oleg
read only = No
create mask = 0700
directory mask = 0700
directory mode = 0700
[_Archive]
comment = Archive Of Documents
path = /mnt/main_raid5/_Archive
valid users = @trust_users
read only = No
create mask = 0775
[_Cinema]
comment = Cinematograph
path = /mnt/main_raid5/_Cinema
write list = @trust_users @smb_users
read only = No
create mask = 0775
[_Library]
comment = Books
path = /mnt/main_raid5/_Library
write list = @trust_users @smb_users
read only = No
create mask = 0775
[_Music]
comment = Music
path = /mnt/main_raid5/_Music
write list = @trust_users @smb_users
read only = No
create mask = 0775
[_Photo]
comment = My Photo Archive
path = /mnt/main_raid5/_Photo
valid users = @trust_users
read only = No
create mask = 0775
directory mask = 0775
directory mode = 0775
[__Public]
comment = Public Folder
path = /mnt/main_raid5/__Public
read only = No
create mask = 0777
directory mask = 0777
directory mode = 0777
[_Soft]
comment = Software
path = /mnt/main_raid5/_Soft
write list = @trust_users @smb_users
read only = No
create mask = 0775
[_Sport]
comment = Sport Translations
path = /mnt/main_raid5/_Sport
write list = @trust_users @smb_users
read only = No
create mask = 0775
Вхожу на сервер под именем oleg. Этот пользователь значится в группах @trust_users и @smb_users. Ни в одну папку записать не могу. Что я делаю не так, подскажите, пожалуйста.