Julian Sikorski
2021-Sep-28 08:53 UTC
[Samba] Permission denied when chainbuilding packages with mock
Hi list, since a few weeks I am no longer able to chainbuild packages with mock when localrepo is pointed to a samba share. The client error is: Error calculating checksum /mnt/openmediavault/kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm: (39, fsync failed: Permission denied) I was able to get the server to generate a log, there are NT_STATUS_NO_EAS_ON_FILE and NT_STATUS_ACCESS_DENIED errors present. My client is a Fedora 34 x86_64 machine, the server is armbian/openmediavault. Does anybody have any ideas what is going on, or how can I check which request is getting access denied exactly? Best regards, Julian -------------- next part -------------- Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.546997, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.547470, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert) Sep 28 09:18:34 odroidxu4 smbd[4271]: unix_convert called on file "kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm" Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.548252, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert) Sep 28 09:18:34 odroidxu4 smbd[4271]: unix_convert begin: name = kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm, dirpath = , start = kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.548425, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert) Sep 28 09:18:34 odroidxu4 smbd[4271]: conversion of base_name finished kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm -> kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.548971, 5, pid=4271, effective(1000, 100), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1371(check_reduced_name) Sep 28 09:18:34 odroidxu4 smbd[4271]: check_reduced_name: kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm reduced to /srv/dev-disk-by-label-omv/julian/kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.549436, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 1 for /var/run/samba/smbXsrv_open_global.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.551982, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba/smbXsrv_open_global.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.554369, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/files.c:137(file_new) Sep 28 09:18:34 odroidxu4 smbd[4271]: allocated file structure fnum 1348556667 (5 used) Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.554675, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode) Sep 28 09:18:34 odroidxu4 smbd[4271]: unix_mode: unix_mode(kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm) returning 0664 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.555240, 4, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/open.c:3308(open_file_ntcreate) Sep 28 09:18:34 odroidxu4 smbd[4271]: calling open_file with flags=0x0 flags2=0x0 mode=0664, access_mask = 0x8, open_access_mask = 0x8 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.558392, 2, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/open.c:1447(open_file) Sep 28 09:18:34 odroidxu4 smbd[4271]: julas opened file kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm read=No write=No (numopen=5) Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.558506, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 1 for /var/run/samba/locking.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.559959, 5, pid=4271, effective(1000, 100), real(1000, 0), class=locking] ../source3/smbd/oplock.c:89(set_file_oplock) Sep 28 09:18:34 odroidxu4 smbd[4271]: set_file_oplock: granted oplock on file kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm, 801:1aa022b:0/632769042, tv_sec = 6152c1ca, tv_usec = 86212 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.560236, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 2 for /var/run/samba/brlock.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.561148, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 2 for /var/run/samba/brlock.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.608208, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba/locking.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.609648, 8, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode: kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.609851, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): "" Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.610107, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode_debug_print: dos_mode returning (0x80): "" Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.613205, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.613475, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.614346, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/trans2.c:4879(smbd_do_qfilepathinfo) Sep 28 09:18:34 odroidxu4 smbd[4271]: smbd_do_qfilepathinfo: kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm (fnum 1348556667) level=65295 max_data=15380 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.614490, 8, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode: kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.614632, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): "" Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.614781, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode_debug_print: dos_mode returning (0x80): "" Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.615100, 3, pid=4271, effective(1000, 100), real(1000, 0), class=smb2] ../source3/smbd/smb2_server.c:3195(smbd_smb2_request_error_ex) Sep 28 09:18:34 odroidxu4 smbd[4271]: smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_EAS_ON_FILE] || at ../source3/smbd/smb2_getinfo.c:159 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.621120, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.621294, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.621579, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 1 for /var/run/samba/locking.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.668624, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba/locking.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.669081, 2, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/close.c:802(close_normal_file) Sep 28 09:18:34 odroidxu4 smbd[4271]: julas closed file kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm (numopen=4) NT_STATUS_OK Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.669227, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 1 for /var/run/samba/smbXsrv_open_global.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.669872, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba/smbXsrv_open_global.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.670027, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/files.c:572(file_free) Sep 28 09:18:34 odroidxu4 smbd[4271]: freed files structure 1348556667 (4 used) Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.672536, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.672750, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.676217, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.676438, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.679886, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.680154, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.681813, 3, pid=4271, effective(1000, 100), real(1000, 0), class=smb2] ../source3/smbd/smb2_read.c:421(smb2_read_complete) Sep 28 09:18:34 odroidxu4 smbd[4271]: smbd_smb2_read: fnum 163335873, file kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm, length=81920 offset=81920 read=81655 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.686874, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.687116, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.687482, 3, pid=4271, effective(1000, 100), real(1000, 0), class=smb2] ../source3/smbd/smb2_server.c:3195(smbd_smb2_request_error_ex) Sep 28 09:18:34 odroidxu4 smbd[4271]: smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_flush.c:82 Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.689419, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:331(change_to_user_impersonate) Sep 28 09:18:34 odroidxu4 smbd[4271]: change_to_user_impersonate: Skipping user change - already user Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.689577, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/uid.c:305(print_impersonation_info) Sep 28 09:18:34 odroidxu4 smbd[4271]: print_impersonation_info: Impersonated user: uid=(1000,1000), gid=(0,100), cwd=[/srv/dev-disk-by-label-omv/julian] Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.689866, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 1 for /var/run/samba/locking.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.691160, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 2 for /var/run/samba/leases.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.692100, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 2 for /var/run/samba/leases.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.692526, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 2 for /var/run/samba/brlock.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.693625, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 2 for /var/run/samba/brlock.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.695718, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba/locking.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.696192, 2, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/close.c:802(close_normal_file) Sep 28 09:18:34 odroidxu4 smbd[4271]: julas closed file kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm (numopen=3) NT_STATUS_OK Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.696367, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:130(dbwrap_lock_order_lock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_lock: check lock order 1 for /var/run/samba/smbXsrv_open_global.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.697002, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_lock_order_unlock) Sep 28 09:18:34 odroidxu4 smbd[4271]: dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba/smbXsrv_open_global.tdb Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.697139, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/files.c:572(file_free) Sep 28 09:18:34 odroidxu4 smbd[4271]: freed files structure 163335873 (3 used) Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.697300, 8, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode: kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.697426, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): "" Sep 28 09:18:34 odroidxu4 smbd[4271]: [2021/09/28 09:18:34.697538, 5, pid=4271, effective(1000, 100), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print) Sep 28 09:18:34 odroidxu4 smbd[4271]: dos_mode_debug_print: dos_mode returning (0x80): ""
Rowland Penny
2021-Sep-28 09:08 UTC
[Samba] Permission denied when chainbuilding packages with mock
On Tue, 2021-09-28 at 10:53 +0200, Julian Sikorski via samba wrote:> Hi list, > > since a few weeks I am no longer able to chainbuild packages with > mock > when localrepo is pointed to a samba share.Has anything changed, any updares etc ?> The client error is: > > Error calculating checksum > /mnt/openmediavault/kernel/results/fedora-34-x86_64/pesign-113- > 16.fc35/pesign-113-16.fc34.x86_64.rpm: > (39, fsync failed: Permission denied) > > I was able to get the server to generate a log, there are > NT_STATUS_NO_EAS_ON_FILE and NT_STATUS_ACCESS_DENIED errors present. > My > client is a Fedora 34 x86_64 machine, the server is > armbian/openmediavault. Does anybody have any ideas what is going on, > or > how can I check which request is getting access denied exactly? >Can you post the two smb.conf files and the Samba versions. Rowland