Намедни поднял Samba
создал пользователей user1 user 2 user 3
теперь когда user 1 создает папку user 2 не может удалить.
Вопрос ... когда с виндовой машины копируешь на сетевую шару самы права остается виндовые ?
Привожу конфиг самбы
Код: Выделить всё
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2009-02-23
[global]
workgroup = MSHOME
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
security = user
netbios name = File_server_2
wins support = No
usershare max shares = 100
ldap suffix =
passdb backend = smbpasswd
wins server =
[1]
comment = 1
inherit acls = Yes
path = /tmp/1/
read only = No
guest ok = yes
writble = yes
guest user = nobody
[kadry]
comment = pub
path = /pub
read only = No
guest ok = No
writble = yes
valid users = artur,anja,kadry
create mode = 0777
directory mask = 0777
Contacts: