Hi everyone, does anyone know how I can delete folders and sample files when a new user is created?
regards!!
Hi everyone, does anyone know how I can delete folders and sample files when a new user is created?
regards!!
rm /wwwroot/skeleton/*
Better just set 'skeletondirectory' => '',
in your config.php
or set it to an own folder with individual content: https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience (bid down the page)
Otherwise you will face integrity check errors on updates, I think.
Thanks, it was very helpful.