file-roller doesn't work with names starting with a dash ("-")

Bug #114442 reported by Erwin Olario
6
Affects Status Importance Assigned to Milestone
File Roller
Fix Released
Medium
file-roller (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Using the "Create Archive" option from the context menu on files or folders starting with a dash ("-"), will produce an error message: "An error occurred while adding files to the archive."

and command line errors:
7-Zip (A) 4.43 beta Copyright (c) 1999-2006 Igor Pavlov 2006-09-15
p7zip Version 4.43 (locale=en_PH.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Error:
Incorrect command line

Erwin Olario (gowin)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use? What archive format do you try to create?

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Hanusz leszek (leszek-skynet) wrote :

I can reproduce this bug:

$ echo "test" > -test
$ file-roller --add -- -test
enter a filename and choose 7z encryption.

Changed in file-roller:
status: Needs Info → Confirmed
Revision history for this message
Hanusz leszek (leszek-skynet) wrote :

In fact it also happen if you choose .bz2 or .gz
There is no problem with the other encryption possibilities

Revision history for this message
Hanusz leszek (leszek-skynet) wrote :
Revision history for this message
Hanusz leszek (leszek-skynet) wrote :
Changed in fileroller:
status: Unknown → Unconfirmed
Changed in fileroller:
status: Unconfirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed Upstream.

Changed in file-roller:
status: Confirmed → Fix Committed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, the fix is already in gutsy since file-roller 2.19.2

Changed in file-roller:
status: Fix Committed → Fix Released
Changed in file-roller:
importance: Unknown → Medium
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.