]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix permissions for mount point
authorMichael Gapczynski <mtgap@owncloud.com>
Mon, 7 Jan 2013 20:21:38 +0000 (15:21 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Mon, 7 Jan 2013 20:21:38 +0000 (15:21 -0500)
lib/files/view.php

index 8303a080bd8f66fee8fbf52f439c94a5b9095058..94c89603aed6452381e82d6e0f95b642e7bd5e0e 100644 (file)
@@ -786,7 +786,7 @@ class View {
                                                        $permissions = $subStorage->getPermissions($rootEntry['path']);
                                                        $subPermissionsCache->set($rootEntry['fileid'], $user, $permissions);
                                                }
-                                               $rootEntry['permissions'] = $subPermissionsCache;
+                                               $rootEntry['permissions'] = $permissions;
                                                $files[] = $rootEntry;
                                        }
                                }