New issue
Advanced search Search tips

Issue 920262 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Crostini: unzip zip file in file system share with Linux shows fchmod error of Operation not permitted

Project Member Reported by sienkou@google.com, Jan 9

Issue description

Chrome Version: 73.0.3664.0
Chrome OS Version: 11546.0.0
Chrome OS Platform: Eve, Kevin
Network info: wifi

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).

Steps To Reproduce:

(1) From Files app, right click on Downloads node and choose Share with Linux

(2) Download a zip file

(3) From linux terminal, cd to /mnt/chromeos/MyFiles/Downloads and run unzip to extract the zip file

Expected Result:
 Files should be be extracted from zip without any errors

Actual Result:
 a) Files were extracted, but
 b) During the file inflation, the following errors are thrown:

Archive:  mp3sweeps-1f.zip
  inflating: 16Hz-1600Hz-Exp-1f-10sec.mp3  fchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Exp-1f-10sec.mp3  fchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Exp-1f-5sec.mp3  fchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Lin-1f-10sec.mp3  fchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Lin-1f-5sec.mp3  fchmod (file attributes) error: Operation not permitted

How frequently does this problem reproduce? Always

Note 1: This problem is reproducible in all file system share with Linux (Downloads, Google Drive, USB, Playfiles). 

Note 2: This problem is not reproducible if the zip file is in the Linux filesystem

 
RunUnzipFromShare.png
906 KB View Download
Status: Untriaged (was: Unconfirmed)
Labels: allpublic
post the output of running `unzip -X` on the archive

note that not all permissions are supported on shared mounts by design, so what you describe might be WAI
Owner: sienkou@google.com
Status: Assigned (was: Untriaged)
back to reporter to check output requested by vapier.
Owner: dgreid@chromium.org
This is the output I from unzip -X :

crostinit2@penguin:/mnt/chromeos/MyFiles/Downloads/Zips$ unzip -X mp3sweeps-1f.zip 
Archive:  mp3sweeps-1f.zip
  inflating: 16Hz-1600Hz-Exp-1f-10sec.mp3   (warning) cannot set UID 501 and/or GID 20
          Operation not permittedfchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Exp-1f-10sec.mp3   (warning) cannot set UID 501 and/or GID 20
          Operation not permittedfchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Exp-1f-5sec.mp3   (warning) cannot set UID 501 and/or GID 20
          Operation not permittedfchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Lin-1f-10sec.mp3   (warning) cannot set UID 501 and/or GID 20
          Operation not permittedfchmod (file attributes) error: Operation not permitted

  inflating: 16Hz-20kHz-Lin-1f-5sec.mp3   (warning) cannot set UID 501 and/or GID 20
          Operation not permittedfchmod (file attributes) error: Operation not permitted


sorry, unzip's man page is bad and i was playing with too many things at once.  `unzip -Z` is the flag to show file listing.
No problem. Run unzip -Z gives the following:

crostinit2@penguin:/mnt/chromeos/PlayFiles/Pictures/Zips$ unzip -Z mp3sweeps-1f.zip 
Archive:  mp3sweeps-1f.zip
Zip file size: 257591 bytes, number of entries: 5
-rw-r--r--  2.3 unx    60568 bx defN 08-Feb-01 18:18 16Hz-1600Hz-Exp-1f-10sec.mp3
-rw-r--r--  2.3 unx    80942 bx defN 08-Feb-01 18:19 16Hz-20kHz-Exp-1f-10sec.mp3
-rw-r--r--  2.3 unx    40818 bx defN 08-Feb-01 18:19 16Hz-20kHz-Exp-1f-5sec.mp3
-rw-r--r--  2.3 unx    80937 bx defN 08-Feb-01 18:18 16Hz-20kHz-Lin-1f-10sec.mp3
-rw-r--r--  2.3 unx    40813 bx defN 08-Feb-01 18:18 16Hz-20kHz-Lin-1f-5sec.mp3
5 files, 304078 bytes uncompressed, 256751 bytes compressed:  15.6%
crostinit2@penguin:/mnt/chromeos/PlayFiles/Pictures/Zips$ 

Sign in to add a comment