Hello!
I have a very strange problem with a cifs share which is being used by Windows and Linux users alike. The problem is, that I cannot delete certain files from Linux that are created by a windows machine even though the permissions are just fine an the CIFS credentials are the same on ether machine:
There is no error message on the Linux side. rm has to be interrupted by pressing CTRL-C.
On the FreeNAS side there are lots of these messages:
I really need to solve this problem since it prevents some maintenance scripts to work properly on my network! Thus help would be much appreciated!
Regards,
Thorsten
PS: This is my smb4.conf file:
I have a very strange problem with a cifs share which is being used by Windows and Linux users alike. The problem is, that I cannot delete certain files from Linux that are created by a windows machine even though the permissions are just fine an the CIFS credentials are the same on ether machine:
Code:
ts@vm-ubuntuserver:~$ uname -a Linux vm-ubuntuserver 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux ts@vm-ubuntuserver:~$ cat /etc/fstab [...] //192.168.0.10/Backup /media/backup cifs noauto,user,credentials=/home/ts/.smbcred 0 0 ts@vm-ubuntuserver:~$ mount /media/backup ts@vm-ubuntuserver:~$ mount [...] //192.168.0.10/Backup on /media/backup type cifs (rw,nosuid,nodev,user=ts) ts@vm-ubuntuserver:~$ ls -l /media/backup/Thumbs.db -rw-rw-rw- 1 ts ts 11776 Okt 19 15:16 /media/backup/Thumbs.db ts@vm-ubuntuserver:~$ rm /media/backup/Thumbs.db ^C
There is no error message on the Linux side. rm has to be interrupted by pressing CTRL-C.
On the FreeNAS side there are lots of these messages:
Code:
Oct 19 15:20:50 freenas kernel: pid 44563 (smbd), uid 65534: exited on signal 11
I really need to solve this problem since it prevents some maintenance scripts to work properly on my network! Thus help would be much appreciated!
Regards,
Thorsten
PS: This is my smb4.conf file:
Code:
[global] server max protocol = SMB3 encrypt passwords = yes dns proxy = no strict locking = no oplocks = yes deadtime = 15 max log size = 51200 max open files = 11070 load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes getwd cache = yes guest account = nobody map to guest = Bad User obey pam restrictions = Yes directory name cache size = 0 kernel change notify = no panic action = /usr/local/libexec/samba/samba-backtrace ea support = yes store dos attributes = yes hostname lookups = yes time server = yes acl allow execute always = true local master = yes idmap config *:backend = tdb idmap config *:range = 90000000-100000000 server role = standalone netbios name = FREENAS-CIFS workgroup = WORKGROUP security = user pid directory = /var/run/samba smb passwd file = /var/etc/private/smbpasswd private dir = /var/etc/private create mask = 0666 directory mask = 0777 client ntlmv2 auth = yes dos charset = CP437 unix charset = UTF-8 log level = 1 #force create mode = 0777 #force directory mode = 0777 #force security mode = 0777 #force directory security mode = 0777 [Backup] path = /mnt/vol1/Backup printable = no veto files = /.snap/.windows/.zfs/ comment = Backup files writeable = yes browseable = yes recycle:repository = .recycle/%U recycle:keeptree = yes recycle:versions = yes recycle:touch = yes recycle:directory_mode = 0777 recycle:subdir_mode = 0700 vfs objects = zfsacl streams_xattr aio_pthread hide dot files = yes guest ok = no nfs4:mode = special nfs4:acedup = merge nfs4:chown = yes zfsacl:acesort = dontcare valid users = ts
Last edited: