DescriptionFiles.app: Explicitly add o+r permission to mounted zip archives under Downloads.
After the change r274593, downloaded files started to have permission 0640
rather than 0644. This CL explicitly adds read-permission before mounting,
provided the archive file is located under the local Downloads folder.
The modification is not applied to zip files on external storage because (1) the
silent change of permission may not be what the user want, (2) it should be rare
that download destination is set to removable devices, and (3) according to UMA
stat 99% of mounted filesystems are those we mount ignoring permissions anyhow
(FAT, NTFS, ISO9660, ...).
BUG=381144
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275777
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|