Backup files are silently ignored when using certain archive types
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file-roller (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Depending on the kind of archive you create using file-roller, backup files (files with a `~` on the end of their names) are included or ignored. The user doesn't see any warning at all and will probably only discover this when they try to extract the archive.
# How to reproduce the symptom.
(I'm assuming you're using Nautilus with file-roller integration.)
Create a folder `testFolder` (or any name but I'll use this one to refer to it) and create a file called `testFile~` in it. Then move to the parent folder of `testFolder`. Right-click test folder and choose "Compress".
## Correct behavior.
Choose `.7z` as the archive format making it a 7zip archive and click "Create". The archive will contain the folder `testFolder` and in it the file `testFile~`.
## Incorrect behavior.
Choose `.tar` as the archive format making it a tarball and click "Create". The tarball will contain the folder `testFolder` but it will be empty.
Note that this isn't the fault of `tar`. If you create the tarball from the command line using the command `tar`, `testFile~` will be included.
Changed in file-roller (Ubuntu): | |
importance: | Undecided → Low |
Status changed to 'Confirmed' because the bug affects multiple users.