"Operation not supported" when trying to save changes in previously created script into samba directory Ubuntu 20.04
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Dear all,
I have created a samba server in Ubuntu 20.04 LTS using the files application (nautilus) to connect with a Windows 7 virtual machine where I have my Google Drive Files.
There is no problem when I cd into folders of the samba server (located at /run/user/1000/gvfs/smb-share:server=wilsonpc,share=users/wilsongv2), either from the terminal or the Matlab's Command Window. I can open and run any .m files inside the samba folder. The problem is as follows:
1. I cannot save any change on any .m file that was already on the share files after mounting the server. I get the following error:
Error writing myfile.m
/run/user/1000/gvfs/smb-share:server=wilsonpc,share=users/wilsongv2/myfile.m (Operation not supported)
2. When I create a new script, I can save it to the samba folder without any problems the first time, which means I have the right read/write permissions. I checked using the ls command an indeed I get the following
-rwx------ 1 wilson wilson 3 may 29 23:13 myfile.m
-rwx------ 1 wilson wilson 4 may 29 23:22 myfile.m~
However, when I try to save any further change on the script, the same error prompts. Namely, I can create the file, but not "overwrite" it anymore.
Any idea to handle that problem?
Note: I also tried to edit other kind of files like .tex (LaTeX) and there is no problem when saving to the samba directory.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!