Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: Nemo: editing file via "connect to server" gives error "too many levels of symbolic links" #1267

Open
odarcan opened this issue Jan 18, 2024 · 4 comments

Comments

@odarcan
Copy link

odarcan commented Jan 18, 2024

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

  1. Connect to remote server / SSH in Nemo
  2. Open text file in editor
  3. 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.

@odarcan odarcan added the bug label Jan 18, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jan 18, 2024
@hfiguiere
Copy link
Collaborator

hfiguiere commented Jan 18, 2024

Please update to xdg-desktop-portal 1.18.2 that fixed several issues with the document portal.

@odarcan
Copy link
Author

odarcan commented Jan 18, 2024

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.

@hfiguiere
Copy link
Collaborator

You said:

XDG Desktop Portal version 1.18

Sorry 1.14.x is not even supported anymore.

@GeorgesStavracas
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Triage
Development

No branches or pull requests

3 participants