Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Problems with write operations from macOS to SMB share after upgrade to 11.3

tmueko

Member
Joined
Jun 5, 2012
Messages
78
Problem: I can mount am smb-share and change a file with vi or BBedit. I cant change the file using textedit. I can copy the file to mac, edit and copy back.
Server is on AD-Directory.

ACL are OK, I thinK:

Code:
root@claus[~]# getfacl /mnt/pool01/hannover/_ACL_TEST
# file: /mnt/pool01/hannover/_ACL_TEST
# owner: CC\administrator
# group: CC\domänen-benutzer
            owner@:rwxpDdaARWcCos:fd-----:allow
            group@:rwxpDdaARWcCos:fd-----:allow
         everyone@:--------------:fd-----:allow


this is smb-share (there is also an deaktivated afp-share.
Code:
[_ACL_TEST]
    aio write size = 0
    ea support = No
    mangled names = illegal
    path = /mnt/pool01/hannover/_ACL_TEST
    read only = No
    vfs objects = fruit streams_xattr shadow_copy_zfs ixnas
    nfs4:acedup = merge
    nfs4:chown = true
    fruit:resource = stream
    fruit:metadata = stream


This is log.smb from an open, change, try to write. I far as I can see he creates a folder "filename.suffix-sb-<random>".
There is a "failing" chmod but I don't know why this fruit-module tries to chmod on an ACL enabled share!?

can someone point me to the right direction?

Code:
[2021/02/16 08:27:12.420037,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=Yes write=Yes (numopen=3)
[2021/02/16 08:27:12.420885,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:12.420973,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.421787,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=4)

[2021/02/16 08:27:12.421882,  1] ../../source3/modules/vfs_fruit.c:6356(fruit_fset_nt_acl)
  chmod: test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt, result: -1, 0644 error Operation not permitted

[2021/02/16 08:27:12.421913,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.423647,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:12.423716,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.427037,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.428732,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.428845,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.429580,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)

[2021/02/16 08:27:12.429679,  1] ../../source3/modules/vfs_fruit.c:6356(fruit_fset_nt_acl)
  chmod: test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt, result: -1, 0644 error Operation not permitted

[2021/02/16 08:27:12.429707,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.432523,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=Yes write=No (numopen=3)
[2021/02/16 08:27:12.433214,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=Yes write=No (numopen=4)
[2021/02/16 08:27:12.433911,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=5)
[2021/02/16 08:27:12.434060,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:12.434720,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=5)
[2021/02/16 08:27:12.434857,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:12.435457,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.435960,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.436590,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.436718,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.437417,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.437512,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.438281,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.438421,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt:com.apple.lastuseddate#PS read=Yes write=No (numopen=4)
[2021/02/16 08:27:12.439039,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt:com.apple.lastuseddate#PS (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.439067,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.439703,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.439897,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt:com.apple.lastuseddate#PS read=No write=Yes (numopen=4)
[2021/02/16 08:27:12.441879,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt:com.apple.lastuseddate#PS (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.441931,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.442643,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.442702,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.443556,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.443611,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.444588,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.444646,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.445477,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.445558,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.446298,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)

[2021/02/16 08:27:12.446407,  1] ../../source3/modules/vfs_fruit.c:6356(fruit_fset_nt_acl)
  chmod: test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt, result: -1, 0770 error Operation not permitted

[2021/02/16 08:27:12.446434,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.448218,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt:com.apple.lastuseddate#PS:$DATA read=No write=No (numopen=3)
[2021/02/16 08:27:12.448260,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt:com.apple.lastuseddate#PS:$DATA (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.448305,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.448558,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-Ja2ekC/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.627603,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file .DS_Store read=No write=No (numopen=4)
[2021/02/16 08:27:12.627754,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file .DS_Store:AFP_AfpInfo read=Yes write=No (numopen=5)
[2021/02/16 08:27:12.627829,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file .DS_Store:AFP_AfpInfo (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:12.627851,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file .DS_Store (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:12.631160,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.631351,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.632536,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.632685,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.634347,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.634538,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:12.635481,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:12.635627,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:13.128859,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:13.129094,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:13.130051,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:13.130193,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:13.131639,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:13.131787,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:13.132735,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:13.132871,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
--
[2021/02/16 08:27:14.726541,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=Yes write=Yes (numopen=3)
[2021/02/16 08:27:14.729493,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:14.729596,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.730469,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=4)
--
[2021/02/16 08:27:14.730597,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.732297,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:14.732366,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.736272,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.738017,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.738104,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.738545,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file .DS_Store read=No write=No (numopen=4)
[2021/02/16 08:27:14.738684,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file .DS_Store:AFP_AfpInfo read=Yes write=No (numopen=5)
[2021/02/16 08:27:14.738757,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file .DS_Store:AFP_AfpInfo (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:14.738779,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file .DS_Store (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.739058,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=4)
--
[2021/02/16 08:27:14.739187,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.743479,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=Yes write=No (numopen=3)
[2021/02/16 08:27:14.744316,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=Yes write=No (numopen=4)
[2021/02/16 08:27:14.745119,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=5)
[2021/02/16 08:27:14.745271,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:14.745982,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=5)
[2021/02/16 08:27:14.746117,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:14.746737,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.747287,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.748005,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.748135,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.751881,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.752002,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.752953,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.753088,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt:com.apple.lastuseddate#PS read=Yes write=No (numopen=4)
[2021/02/16 08:27:14.753733,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt:com.apple.lastuseddate#PS (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.753761,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.754505,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.754703,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt:com.apple.lastuseddate#PS read=No write=Yes (numopen=4)
[2021/02/16 08:27:14.756624,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt:com.apple.lastuseddate#PS (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.756673,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.757479,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.757536,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.758524,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.758576,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.759545,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.759595,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.760440,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.760517,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.761330,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
--
[2021/02/16 08:27:14.761450,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.764465,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt:com.apple.lastuseddate#PS:$DATA read=No write=No (numopen=3)
[2021/02/16 08:27:14.764517,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt:com.apple.lastuseddate#PS:$DATA (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.764566,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.764793,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt.sb-9a0f00ab-F7G1AP/test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.818540,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.818708,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.819482,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.819621,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.820786,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:14.820920,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:14.821650,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=Yes write=Yes (numopen=3)
[2021/02/16 08:27:14.822434,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:14.822494,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.860532,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:14.860754,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.861680,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:14.861826,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:14.913164,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=4)
[2021/02/16 08:27:14.913355,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:15.013222,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:15.991666,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file .DS_Store read=No write=No (numopen=4)
[2021/02/16 08:27:15.991826,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file .DS_Store:AFP_AfpInfo read=Yes write=No (numopen=5)
[2021/02/16 08:27:15.991907,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file .DS_Store:AFP_AfpInfo (numopen=4) NT_STATUS_OK
[2021/02/16 08:27:15.991930,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file .DS_Store (numopen=3) NT_STATUS_OK
[2021/02/16 08:27:15.996077,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:15.996248,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:15.997100,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file untitled text 504.txt read=No write=No (numopen=3)
[2021/02/16 08:27:15.997238,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file untitled text 504.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:15.998395,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:15.998542,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
[2021/02/16 08:27:15.999433,  2] ../../source3/smbd/open.c:1447(open_file)
  CC\tmueko opened file test2.txt read=No write=No (numopen=3)
[2021/02/16 08:27:15.999565,  2] ../../source3/smbd/close.c:807(close_normal_file)
  CC\tmueko closed file test2.txt (numopen=2) NT_STATUS_OK
 

tmueko

Member
Joined
Jun 5, 2012
Messages
78
OK, carrying everything together helped a bit:
when I disable "fruit" (add an aux paramter to disable vfs_fruit): everything is fine with that share:

Code:
vfs objects = streams_xattr shadow_copy_zfs ixnas


Now when I only connect to my _ACL_TEST everything is fine.
note: when I first connect to a share with fruit enabled an then connect to my "_ACL_TEST" I am doomed again (which is documented not to mix fruit enabled with not enabled).
 

tmueko

Member
Joined
Jun 5, 2012
Messages
78
after additional hours of debugging I found the problem:
Some of the dataset has been created "aclmode = restricted" (maybe share Type = SMB).
with aclmode = passthrough (zfs inherit aclmode ...) everything is working fine even with vfs_fruit enabled.

thanks for reading. please close.
 
Top