modifying an existing archive changes original permissions

Bug #1780380 reported by asd on 2018-07-06
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
File Roller
Unknown
Unknown
file-roller (Ubuntu)
High
Unassigned

Bug Description

Hello,

Modifying an existing archive with file-roller results in the original archive permissions being changed/not being preserved.

Creating a new archive and then changing permission to 600

test@gnu:~/Desktop$ ls -ld test.zip
-rw------- 1 test test 943098 Jul 6 01:11 test.zip

test@gnu:~/Desktop$ stat test.zip
  File: test.zip
  Size: 487575 Blocks: 976 IO Block: 4096 regular file
Device: 36h/54d Inode: 6820796 Links: 1
Access: (0600/-rw-------) Uid: ( 1000/ test) Gid: ( 1000/ test)
Access: 2018-07-06 01:15:59.763424802 -0400
Modify: 2018-07-06 01:15:59.711424502 -0400
Change: 2018-07-06 01:16:18.159530978 -0400
 Birth: -

Opening the archive with file roller, and adding a new file:

test@gnu:~/Desktop$ ls -ld test.zip
-rw-r--r-- 1 test test 1430045 Jul 6 01:12 test.zip

test@gnu:~/Desktop$ stat test.zip
  File: test.zip
  Size: 486572 Blocks: 968 IO Block: 4096 regular file
Device: 36h/54d Inode: 6820794 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ test) Gid: ( 1000/ test)
Access: 2018-07-06 01:16:29.519596466 -0400
Modify: 2018-07-06 01:16:29.455596097 -0400
Change: 2018-07-06 01:16:29.475596212 -0400

File-roller version: 3.28.0

Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic

Emily Ratliff (emilyr) wrote :

This appears to be the same bug as https://bugzilla.gnome.org/show_bug.cgi?id=790672

Emily Ratliff (emilyr) on 2018-07-06
information type: Private Security → Public Security
Changed in file-roller (Ubuntu):
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public Security information  Edit
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.