Extracting iso changes target directory's permissions

Bug #1626724 reported by Byte Commander
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
file-roller (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have an ISO archive and opened it with file-roller. Then I clicked the big [Extract] button, selected my Desktop as target directory (options "Extract: All files" and "Actions: Keep directory structure" checked) and confirmed. It extracted the files successfully, but also changed the permissions of the target directory itself (to r-xr-xr-x).

This is not expected and not intended. Actually I could no longer create or delete files in my Desktop directory after that, until I fixed the permissions again. I confirmed the behaviour with a different location as well.

Extracting anything into a location should never modify permissions of the target location itself!

----------------------------------------------------------------------------------------------------

If you're interested, here's what I did (extracting to ~/Desktop/testdir ; the "Extract" dialog window can be seen at https://i.stack.imgur.com/rlUvS.png):

$ ls -l Desktop/
total 4
drwxrwxr-x 2 bytecommander bytecommander 4096 Sep 22 21:58 testdir/

$ file-roller test.iso

$ ls -l Desktop/
total 4
dr-xr-xr-x 4 bytecommander bytecommander 4096 Sep 22 16:20 testdir/

----------------------------------------------------------------------------------------------------

System info:

$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

$ apt policy file-roller
file-roller:
  Installed: 3.16.5-0ubuntu1.2
  Candidate: 3.16.5-0ubuntu1.2
  Version table:
 *** 3.16.5-0ubuntu1.2 500
        500 http://ftp.uni-stuttgart.de/ubuntu xenial-updates/main amd64 Packages
        500 http://ftp.uni-stuttgart.de/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.16.4-1ubuntu3 500
        500 http://ftp.uni-stuttgart.de/ubuntu xenial/main amd64 Packages

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in file-roller (Ubuntu):
status: New → Confirmed
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.