Public bug reported: Binary package hint: gnome-utils
gnome-screenshot unlinks a file before replacing it. This is unfortunate because I hardlinked an existing screenshot and expected the file to change whenever the screenshot changes, i.e. whenever I create a new screenshot and replace an existing one. To reproduce simple save a screenshot in /tmp/foo.png. Then hardlink it, i.e. ln -f /tmp/foo.png /tmp/bar.png. Do a ls -l /tmp/{foo,bar}.png. Then create a new screenshot and save it as /tmp/foo.png. Do a ls -l /tmp/{foo,bar}.png and see two different files. The solution is to just write to the file without unlinking it first. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: gnome-screenshot 2.31.1-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.37-2.10-generic 2.6.37-rc1 Uname: Linux 2.6.37-2-generic x86_64 Architecture: amd64 Date: Sun Nov 28 01:04:59 2010 SourcePackage: gnome-utils ** Affects: gnome-utils (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug maverick -- gnome-screenshot unlinks saved file https://bugs.launchpad.net/bugs/682247 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-utils in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs