← Back to team overview

desktop-packages team mailing list archive

[Bug 682247] Re: gnome-screenshot unlinks saved file

 

[Expired for gnome-utils (Ubuntu) because there has been no activity for
60 days.]

** Changed in: gnome-utils (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-utils in Ubuntu.
https://bugs.launchpad.net/bugs/682247

Title:
  gnome-screenshot unlinks saved file

Status in “gnome-utils” package in Ubuntu:
  Expired

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-utils/+bug/682247/+subscriptions