Hello!
I've recently installed samba at debian host. And configured samba with full access for anybody without login/password.
At the server side shared partition type is ntfs, fstab options for share:
Code:
/dev/sda2 /media/servstor ntfs-3g umask=0 0 0
and here smb.conf:
Code:
[global]
workgroup = WORKGROUP
hosts allow = 192.168.
interfaces = all
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
guest account = nobody
security = share
unix charset = UTF-8
[share]
path = /media/servstor
comment = share
printable = no
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
At the linux client side (gentoo):
Code:
echo <pass> | sudo -S mount -t cifs //192.168.1.5/share /media/share -o workgroup=WORKGROUP,ip=192.168.1.5
I can mount share and can create, delete and copy files and folders. All fine except one thing: when I copy files to share, I get a message 'Can't change permissions for file <filename>' for each file that was copied. And I have to click 'OK' for each message. No problem on copying one or two files. But copy a folder with a hundreds of files - it is a really asspain
I read a tons of manuals and tried billions mounting options, rebuilt kernel with CIFS options, played with polkit settings, but nothing helps.
Can anyone help me?
Thanks in advance.
P.S.
I think server's configuration is OK because I have no these messages when I copying files to server from other desktop (with Arch installed).