diff options
| author | Ralph Boehme <slow@samba.org> | 2022-05-17 16:02:10 +0200 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2022-06-03 20:56:35 +0000 |
| commit | a0dc4c9026519c949070dc001e7addad7c7d35ce (patch) | |
| tree | 47e9cf3fc4ad2e013d667c0908ac125f82687083 /python | |
| parent | d373ff3c01c2c50cd539b78494c0673974a0f046 (diff) | |
| download | samba-a0dc4c9026519c949070dc001e7addad7c7d35ce.tar.gz samba-a0dc4c9026519c949070dc001e7addad7c7d35ce.tar.bz2 samba-a0dc4c9026519c949070dc001e7addad7c7d35ce.zip | |
vfs_gpfs: finally: use gpfswrap_fgetacl() instead of gpfswrap_getacl()
Replaces path based gpfswrap_getacl() with handle based version
gpfswrap_fgetacl(). When dealing with files in snapshots fsp->fsp_name points to
the active dataset, which will cause ENOENT failures if files are deleted there
any only present in the snapshot:
[2022/05/06 11:32:55.233435, 4, pid=12962, effective(1460548, 273710), real(1460548, 0)]
calling open_file with flags=0x0 flags2=0x800 mode=0644, access_mask = 0x80, open_access_mask = 0x80
[2022/05/06 11:32:55.233460, 10, pid=12962, effective(1460548, 273710), real(1460548, 0), class=vfs]
gpfs_get_nfs4_acl invoked for dir/subdir/file.txt
[2022/05/06 11:32:55.233495, 5, pid=12962, effective(1460548, 273710), real(1460548, 0), class=vfs]
smbd_gpfs_getacl failed with No such file or directory
[2022/05/06 11:32:55.233521, 9, pid=12962, effective(1460548, 273710), real(1460548, 0), class=vfs]
gpfs_getacl failed for dir/subdir/file.txt with No such file or directory
[2022/05/06 11:32:55.233546, 10, pid=12962, effective(1460548, 273710), real(1460548, 0)]
smbd_check_access_rights_fsp: Could not get acl on dir/subdir/file.txt {@GMT-2022.05.04-11.58.53}: NT_STATUS_OBJECT_NAME_NOT_FOUND
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15069
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
