diff --git a/.htaccess b/.htaccess index ba31b6ec3781..878313964bc1 100644 --- a/.htaccess +++ b/.htaccess @@ -8,9 +8,9 @@ RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION -php_value upload_max_filesize 513M -php_value post_max_size 513M -php_value memory_limit 512M +php_value upload_max_filesize 4G +php_value post_max_size 4G +php_value memory_limit 4G php_value mbstring.func_overload 0 php_value always_populate_raw_post_data -1 diff --git a/core/js/share.js b/core/js/share.js index f71091cd7f29..38f9237a1a9e 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -386,7 +386,7 @@ OC.Share={ return true; } }); - if(itemType === 'folder' ){ + if(itemType === 'folder' && actualPath === '/'){ html += ''; html += ''; html += ''; @@ -465,7 +465,7 @@ OC.Share={ } }); } - if(itemType === 'folder') { + if(itemType === 'folder' && actualPath === '/') { $('#shareWith').autocomplete({minLength: 2, delay: 750, source: function(search, response) { var $loading = $('#dropdown .shareWithLoading'); $loading.removeClass('hidden'); diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 6d7a8a5a2e19..bad83ad52962 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2229,6 +2229,8 @@ private static function insertShare(array $shareData) } else { $result = $mailNotification->sendLinkEosEGroup($shareData["shareWith"]."@cern.ch", $filedata["name"],$filedata["eospath"],$shareData["shareWith"]); } + // HUGO-TODO Add +x permissions to parent folders of a share + EosUtil::propagatePermissionXToParents($filedata, $to); }