xdg-desktop-portal
xdg-desktop-portal copied to clipboard
issue: Nemo: editing file via "connect to server" gives error "too many levels of symbolic links"
Linux Mint
Cinnamon / MATE / Xfce
XDG Desktop Portal version 1.18
gvfs:amd64 1.48.2-0ubuntu1
gvfs-backends 1.48.2-0ubuntu1
gvfs-common 1.48.2-0ubuntu1
gvfs-daemons 1.48.2-0ubuntu1
gvfs-fuse 1.48.2-0ubuntu1
gvfs-libs:amd64 1.48.2-0ubuntu1
Expected Behavior
After doing a "connect to server / with ssh" in Nemo, it mounts the dir, when I edit it opens the file and saves as if on local directory.
Current Behavior
Problem is that it doesnt save, I get error: Error opening file "/run/user/1000/doc/SOMENUMBER/MYFILE":Too many levels of symbolic links The file on disk may now be truncated!
Steps to Reproduce
- Connect to remote server / SSH in Nemo
- Open text file in editor
- Save
Anything else we should know?
I have used nemo to mount (connect to server / ssh) and edit files for years now I have recently upgraded to Linux Mint 21.3,
now when I connect to remote server via ssh, when I open by double clicking a file, it opens but when I save changes it says Error opening file "/run/user/1000/doc/SOMENUMBER/MYFILE":Too many levels of symbolic links The file on disk may now be truncated! and it doesnt save.
If I right click on mounted dir and do open in terminal the following directory opens up /run/user/1000/gvfs/sftp:host=IPOFREMOTESERVER,user=x/MOUNTEDDIRECTORY
and from there I can write "MYEDITORNAME FILENAME", it opens the file fine and can save it.
I have a+rwx on the file permissions, and the error is not about permissions.
Please update to xdg-desktop-portal 1.18.2 that fixed several issues with the document portal.
sudo apt upgrade xdg-desktop-portal says: xdg-desktop-portal is already the newest version (1.14.4-1ubuntu2~22.04.1).
I have not had the problem of this topic for last years, only in the latest mint update a few days ago.
You said:
XDG Desktop Portal version 1.18
Sorry 1.14.x is not even supported anymore.
Please test with xdg-desktop-portal 1.18.2 or the main branch, and report back if the issue still occurs.
As per our Security Policy, 1.14 and older are unsupported and potentially insecure versions that don't receive more updates. Please ask Mint developers to consider updating to a newer version.