GNOME Bugzilla – Bug 384499
File-roller does not handle filenames starting with a dash (-) correctly.
Last modified: 2006-12-19 20:22:14 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:
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.