Jason Eades

Results comments of Jason Eades

I see the same issue using the file picker to "Select new from existing" when choosing a profile picture (6.0.3 stable): ![image](https://cloud.githubusercontent.com/assets/1776195/3135141/e0be4920-e82e-11e3-8179-e6b877917fd3.png)

It's worth noting that if I manually rename the corresponding sharekey file in {data-dir}{user}\files-encryption\share-keys\ I can download the file again. I'm going review my logs again as nothing was being...

I've reproduced again and there is nothing written to the OwnCloud or PHP log with this event.

Ok, I've tested this patch and I still have the same result. The primary keyfile here: {data-dir}{user}\files-encryption\keyfiles\ is successfully renamed as well as the document. The share keyfile here: {data-dir}{user}\files-encryption\share-keys\...

Ok, inside postRename when we glob() the escaped path for *.shareKeys, it is not finding any matches so subsequently, no sharekeys are renamed. It seems to boil down to this:...

Ok, I've got past that problem. Apparently glob is case sensitive? The search pattern was using .*shareKey with a capital "K" in key https://github.com/owncloud/core/blob/master/apps/files_encryption/hooks/hooks.php#L476. I modified this to use lowercase...

@schiesbn Yeah, the other problem was related to normalizePath adding a forward slash before the drive letter which makes it think the path doesn't exist. See this line in the...

@schiesbn This works and is much cleaner than my fix, thank you very much. However, the sharekey creation issue still exists from issue #9032 when in a new nested directory....

I just tested this again using the following steps: 1. Create a folder named "root2". 2. Open "root2" 3. Upload document (it works) 3. Create a folder named "child" 4....