Set permissions for cron.php

Hello, everyone,

i would like to ask what permissions are best for doe cron.php and what is the minimum permissions set so that the script can run and security is high?

Thanks!

It has to run with the same user as the php processes of your webserver. Then it goes further to what permissions are required for Nextcloud in general. In first versions, we had stricter directory permission with only read access to the code itself, so Nextcloud can’t change its own code.

However, this is not compatible with the updater app and app installation/updates. So there is no stricter permissions and Nextcloud processes have full access to the code and to the data.

Thank you, I was able to solve the problem!