Don't follow symlinks

Bug #189066 reported by jhansonxi
This bug report is a duplicate of:  Bug #215302: file-roller symlinks support broken. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file-roller (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
Bachsau (bachsau) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.