mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Merge pull request #94 from rullzer/patch-1
Ignore ATTR_NOT_CONTENT_INDEXED
This commit is contained in:
commit
8481d66c8d
1 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,11 @@ class NativeFileInfo implements IFileInfo {
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
protected function getMode() {
|
protected function getMode() {
|
||||||
|
$mode = $this->stat()['mode'];
|
||||||
|
|
||||||
|
// Let us ignore the ATTR_NOT_CONTENT_INDEXED for now
|
||||||
|
$mode &= ~0x00002000;
|
||||||
|
|
||||||
return $this->stat()['mode'];
|
return $this->stat()['mode'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue