I have this strange problem with deleting files from SAMBA shares mounted from Linux. Here's my setup:
Client OS: Debian 9 . Only custom setting is "smb min protocol = 2.1" in smb.conf. I've disabled smb 1 on FreeNAS and I need this setting client side to connect form Linux.
FreeNAS: 11.1-U1 but I've noticed this on 11.0-U4 too
Shared folder is on a dataset with Windows permissions and everything seems in order. I have the following parameters enabled on the share: zfs_space, zfsacl,aio_pthread,streams_xattr. I can delete a folder from Windows without error.
Problem: I connect to the same SAMBA share with the same credentials that work on Windows. I delete a folder from Nautilus, the GUI hangs a bit on the deletion process, and then it looks like the folder is gone. When I re-access the parent folder, the "deleted" folder is still there. I can see it from FreeNAS CLI too. Linux doesn't throw any error.
Can anyone help? Thanks.
EDIT: I did some more tests
It seems that folders created from Windows can't be deleted from Mac or Linux. I can delete them from Windows only.
I've created 3 folders from Linux. I can delete from Mac and Windows, but I can't delete them from Linux.
I've created 3 folders from Mac. I can delete them from Windows, but can't from Mac and Linux.
EDIT 2: I've completely reset the permissions fot the dataset and I still have this problem.
Client OS: Debian 9 . Only custom setting is "smb min protocol = 2.1" in smb.conf. I've disabled smb 1 on FreeNAS and I need this setting client side to connect form Linux.
FreeNAS: 11.1-U1 but I've noticed this on 11.0-U4 too
Shared folder is on a dataset with Windows permissions and everything seems in order. I have the following parameters enabled on the share: zfs_space, zfsacl,aio_pthread,streams_xattr. I can delete a folder from Windows without error.
Problem: I connect to the same SAMBA share with the same credentials that work on Windows. I delete a folder from Nautilus, the GUI hangs a bit on the deletion process, and then it looks like the folder is gone. When I re-access the parent folder, the "deleted" folder is still there. I can see it from FreeNAS CLI too. Linux doesn't throw any error.
Can anyone help? Thanks.
EDIT: I did some more tests
It seems that folders created from Windows can't be deleted from Mac or Linux. I can delete them from Windows only.
I've created 3 folders from Linux. I can delete from Mac and Windows, but I can't delete them from Linux.
I've created 3 folders from Mac. I can delete them from Windows, but can't from Mac and Linux.
EDIT 2: I've completely reset the permissions fot the dataset and I still have this problem.
Last edited: