mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fixed missing files on SMB storage
Files with attribute "N" weren't parsed out of the file list returned by smbclient. It seems that these files appear when created on a Linux SMB mount directly and that have no executable bit.
This commit is contained in:
parent
928947f1c3
commit
0187537a2e
1 changed files with 1 additions and 1 deletions
2
apps/files_external/3rdparty/smb4php/smb.php
vendored
2
apps/files_external/3rdparty/smb4php/smb.php
vendored
|
|
@ -164,7 +164,7 @@ class smb {
|
|||
$i = ($mode == 'servers') ? array ($name, "server") : array ($name, "workgroup", $master);
|
||||
break;
|
||||
case 'files':
|
||||
list ($attr, $name) = preg_match ("/^(.*)[ ]+([D|A|H|S|R]+)$/", trim ($regs[1]), $regs2)
|
||||
list ($attr, $name) = preg_match ("/^(.*)[ ]+([D|A|H|S|R|N]+)$/", trim ($regs[1]), $regs2)
|
||||
? array (trim ($regs2[2]), trim ($regs2[1]))
|
||||
: array ('', trim ($regs[1]));
|
||||
list ($his, $im) = array (
|
||||
|
|
|
|||
Loading…
Reference in a new issue