Public bug reported: Consider you want to annotate some PDF files on a file system mounted somewhere in /mnt. So you would open the file, do your annotations and save the file. Nope, you can't overwrite the file, you must save your PDF as a new one.
Evince (46.0-1build-1) let your know why: The file could not be saved as "file://img/path...". Error renaming temporary file: Permission denied = Steps to reproduce on fresh Ubuntu 24.04: ================ * Create some fs, mount it, download some PDF. Can be skiped: $ truncate --size=100M myfs.img $ sudo mkfs.ext4 myfs.img $ sudo mkdir /mnt/some_dir $ sudo mount -o loop myfs.img $ cd /mnt/some_dir $ sudo chown $USER:$USER . $ wget https://upload.wikimedia.org/wikipedia/commons/d/d3/Test.pdf $ evince Test.pdf * Try to save the file now, press ctrl+s, file chooser dialog opens and you get lot of warnings in terminal: (evince:62394): GVFS-WARNING **: 10:20:45.777: The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges. (evince:62394): GVFS-WARNING **: 10:20:45.778: The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges. (evince:62394): GVFS-WARNING **: 10:20:45.851: The peer-to-peer connection failed: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg- run/gvfsd privileges. (evince:62394): GVFS-WARNING **: 10:20:45.921: The peer-to-peer connection failed: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg- run/gvfsd privileges. (evince:62394): GVFS-WARNING **: 10:20:46.117: The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges. (evince:62394): GVFS-WARNING **: 10:20:46.117: The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges. (evince:62394): GVFS-WARNING **: 10:20:46.118: The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges. * then your choose the same Test.pdf you want to overwrite and you get the evince renaming-temporary-file error. ** Affects: evince (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Evince error message" https://bugs.launchpad.net/bugs/2072475/+attachment/5795396/+files/bad_touch.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2072475 Title: evince fails to overwrite files in /mnt/some_path To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/2072475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs