confirmed the issue is a samba one, gvfs error log
"map_errno_from_nt_status: 32 bit codes: code=c0000121 smbc errno NT_STATUS_CANNOT_DELETE -> 22"
the samba source has #define NT_STATUS_CANNOT_DELETE NT_STATUS(0xC0000000 | 0x0121)
the errmap_unix.c table doesn't list that error
" DEBUG(10,("map_errno_from_nt_status: 32 bit codes: code=%08x\n", NT_STATUS_V(status)));
for (i=0;nt_errno_map[i].error;i++) { if (NT_STATUS_V(nt_errno_map[i].status) == NT_STATUS_V(status)) { return nt_errno_map[i].error; } }
/* for all other cases - a default code */ return EINVAL;"
it returns EINVAL
confirmed the issue is a samba one, gvfs error log
"map_errno_ from_nt_ status: 32 bit codes: code=c0000121 CANNOT_ DELETE -> 22"
smbc errno NT_STATUS_
the samba source has CANNOT_ DELETE NT_STATUS( 0xC0000000 | 0x0121)
#define NT_STATUS_
the errmap_unix.c table doesn't list that error
" DEBUG(10, ("map_errno_ from_nt_ status: 32 bit codes: code=%08x\n",
NT_STATUS_ V(status) ));
for (i=0;nt_ errno_map[ i].error; i++) { V(nt_errno_ map[i]. status) ==
NT_STATUS_ V(status) ) {
return nt_errno_ map[i]. error;
if (NT_STATUS_
}
}
/* for all other cases - a default code */
return EINVAL;"
it returns EINVAL