Files available at the creation of user

When I create a new user I always have default files and directoreis for this user. I would like to write a special welcome.pdf files available and not the other.

How is it possible to change that ?

There is a /core/skeleton/ directory that contains these. However as I had to learn quite recently, it is not a good idea to modify any core files as the security system of Nextcloud complains.
The best seems to be to point in the “config.php” to a custom “skeleton” directory somewhere on your server like this:
'skeletondirectory' => '/some/custom/directoy',
Then just place any files there that all the new users should get.


Thank you very much. It works perfectly