← Back to team overview

desktop-packages team mailing list archive

[Bug 189066] Re: Don't follow symlinks

 

*** This bug is a duplicate of bug 215302 ***
    https://bugs.launchpad.net/bugs/215302

Furthermore, if you  delete a symlink pointing to a directory from the
archive, every file in the linked directory OUTSIDE the archive gets
deleted!

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

Title:
  Don't follow symlinks

Status in “file-roller” package in Ubuntu:
  New

Bug description:
  Binary package hint: file-roller

  File Roller 2.20.1
  tar (GNU tar) 1.18
  gzip 1.3.12
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=7.10
  DISTRIB_CODENAME=gutsy
  DISTRIB_DESCRIPTION="Ubuntu 7.10"

  I discovered that when creating an archive of a user's home directory
  File Roller would run until it exhausts all free space even if the
  amount of data in the folder was relatively small.  I traced the
  problem to symlinks in ~/.wine/dosdevices (like "c: -> ../drive_c" or
  "h: -> /home/user") which cause it to loop through other directories
  repeatedly.  It appears to ignore links to directories owned by root
  but if they belong the the current user then it follows them.  It also
  doesn't seem to kill tar and gzip correctly when the archive creation
  dialog is cancelled but this may be a different issue.  Bug #124992
  and bug #117066 may be related.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/189066/+subscriptions