Problem saving notebook to network drive on Raspberry Pi

I’m trying to share a Mathematica notebook between a MacBook Air running 12.2 and a Raspberry Pi running 12.1 using a Samba server. E.g. Edit from either system, but not at the same time.

With the notebook file stored on the Samba drive:

  • Mathematica(Licensed) on the MacBook can read and write the notebook on the drive just fine.
  • Mathematica on the Raspberry Pi can read the notebook on the drive fine, but cannot save the file.

When saving I get the message:
“Could not read some data from your file. You may have a problem with your disk, or you may not have the file system permission to read the file.”

A text file editor on the Raspberry Pi can edit a text file in the same network directory just fine. So, it would not appear to be simply permissions or Samba config. (see ls -la below) Mathematica seems to be running as pi.

Here is the directory and ps (I am trying to access FS21.nb):

pi@raspberrypi:/run/user/1000/gvfs/smb-share:server=rpismb.local,share=finsmb/FS21 $ ls -la
total 46
drwx------ 1 pi pi     0 Apr 10 16:42 .
drwx------ 1 pi pi     0 Jun  5 09:14 ..
drwx------ 1 pi pi     0 May 18 15:17 data
-rwx------ 1 pi pi  4096 May 21 22:13 ._.DS_Store
-rwx------ 1 pi pi  6148 Apr 11 12:05 .DS_Store
-rwx------ 1 pi pi  4096 May 21 22:13 ._FS21
drwx------ 1 pi pi     0 Apr 10 16:07 FS21
-rwx------ 1 pi pi  4096 Jun  5 09:15 ._FS21.nb
-rwx------ 1 pi pi 18008 Jun  5 09:15 FS21.nb << Accessing this file
drwx------ 1 pi pi     0 May 19 08:11 .git
-rwx------ 1 pi pi  4096 May 21 22:13 ._.gitignore
-rwx------ 1 pi pi   111 Apr 10 16:42 .gitignore
-rwx------ 1 pi pi   398 Jun  7  2020 .project
-rwx------ 1 pi pi  4096 May 21 22:13 ._Tools
drwx------ 1 pi pi     0 Apr 29 09:33 Tools
-rwx------ 1 pi pi   114 Feb 16 20:39 .WolframResources
pi@raspberrypi:/run/user/1000/gvfs/smb-share:server=rpismb.local,share=finsmb/FS21 $ ps -ef | grep Mathematica
pi        8673  8578  0 09:55 pts/1    00:00:00 grep --color=auto Mathematica
pi@raspberrypi:/run/user/1000/gvfs/smb-share:server=rpismb.local,share=finsmb/FS21 $ 

Confirmed the file name being accessed is networked version using

AbsoluteCurrentValue[Notebooks[],"NotebookFullFileName"]

I could not find a way for Mathematica to tell me the permissions it was seeing.

Is there a way to see the permissions Mathematica is seeing, or another better idea?

P.S. Get the same error if I simply copy a notebook from the Pi to the Samba and try to edit it there.

Followup. Upgraded to RPi Version 12.2 (when it became available) and that version can edit the text file like the MacOS version.