A skeleton directory provides the initial list of files for Nextcloud when a new user is created. By default, the skeleton directory is /app/code/core/skeleton. This directory is read only but can be changed to a custom directory.
1. Open the File Manager.
- Create a directory named skeleton.
- Set the owner of the directory to www-data. You can do this by clicking the icon to the right of the directory.
- Add files and directories to this new skeleton directory. Be sure to fix ownership of the files to www-data
2. Edit config/config.php to contain the following line:
'skeletondirectory' => '/app/data/skeleton'
New users will receive the contents of skeleton directory on first log-in. The skeletondirectory property above can be set to empty string ('') to have no files added on first login.