Skip to content

Commit

Permalink
fix: store unmaked source permissions as scan_permissions when loadin…
Browse files Browse the repository at this point in the history
…g share cache items

Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 authored and susnux committed Jan 17, 2025
1 parent f44ca12 commit 0074806
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/private/Files/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ public static function cacheEntryFromData($data, IMimeTypeLoader $mimetypeLoader
if ($data['storage_mtime'] == 0) {
$data['storage_mtime'] = $data['mtime'];
}
if (isset($data['f_permissions'])) {
$data['scan_permissions'] = $data['f_permissions'];
}
$data['permissions'] = (int)$data['permissions'];
if (isset($data['creation_time'])) {
$data['creation_time'] = (int)$data['creation_time'];
Expand Down

0 comments on commit 0074806

Please sign in to comment.