core icon indicating copy to clipboard operation
core copied to clipboard

Don't emit 'post_create' hook for default files

Open musaa32 opened this issue 10 years ago • 3 comments

I have the Version 8.2.2.2 and there is an isssue with hooks. I have developed an app that works with the Filesystem Hooks e.g. 'post_create'. The problem is if I create a new user, the default files are created into the users directory, but the hook is also works for this files. How can I detect the default files(skeleton) in my app. My proposed solution would be to disable the Filesystem Hooks for default files.

Server configuration

Operating system: Fedora Web server: nginx/1.6.3 Database: 10.0.21-MariaDB PHP-Version: 5.6.15 ownCloud version: 8.2.2.

musaa32 avatar Feb 09 '16 11:02 musaa32

From my point of view that is expected behaviour as developers might require that hook as well for the initial setup.

LukasReschke avatar Feb 10 '16 11:02 LukasReschke

well there are apps which need these hooks also on skeleton files, so not sure

nickvergessen avatar Feb 10 '16 11:02 nickvergessen

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 06 '19 13:08 lock[bot]