Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 37f4c67

Browse files
committed
Imap wrapper: fix stat to make sure it responds correctly to the is_readable test.
1 parent bd95f26 commit 37f4c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/plugins/access.imap/class.imapAccessWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public function url_stat($path, $flags)
375375
$keys = array(
376376
'dev' => 0,
377377
'ino' => 0,
378-
'mode' => 33216,
378+
'mode' => 33279,
379379
'nlink' => 0,
380380
'uid' => 0,
381381
'gid' => 0,
@@ -400,7 +400,7 @@ public function url_stat($path, $flags)
400400
$keys = array(
401401
'dev' => 0,
402402
'ino' => 0,
403-
'mode' => (empty($this->currentAttachmentData)?(33216 | 0040000):33216),
403+
'mode' => (empty($this->currentAttachmentData)?(33279 | 0040000):33216),
404404
'nlink' => 0,
405405
'uid' => 0,
406406
'gid' => 0,

0 commit comments

Comments
 (0)