After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 384499 - File-roller does not handle filenames starting with a dash (-) correctly.
File-roller does not handle filenames starting with a dash (-) correctly.
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.16.x
Other All
: Normal minor
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-12-10 20:31 UTC by Ash Kyd
Modified: 2006-12-19 20:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Ash Kyd 2006-12-10 20:31:41 UTC
Please describe the problem:
When trying to archive files in a tarball (including bzip/gzipped tar), or compress a file using gzip or bzip, file-roller will fail when one of the files starts with a dash character. (-)

The command-line output seems to indicate that the file name isn't being passed to tar/bzip/gzip properly, and is being interpreted as a (number of) argument(s) instead.

Steps to reproduce:
1. Create a new file named "-test"
2. Right click in Nautilus and select "Create Archive..."
3. Choose .tar, .tar.bz2, .tar.gz, .bz2, or .gz


Actual results:
An error dialog occurs, providing command line output from whichever program file-roller was trying to use.

Expected results:
The file should have been compressed in the archive.

Does this happen every time?
Yes.

Other information:
Comment 1 Paolo Bacchilega 2006-12-19 20:22:14 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.