Providing Default Files

You may distribute a set of default files and folders to all users by placing them into the default /var/www/owncloud/core/skeleton directory which needs to be mounted by the host using a Docker volume first. These files appear only to new users after their initial login. Existing users will not see files that are added to this directory after their first login. The files in the skeleton directory are copied into the users’ data directories, so they may change and delete the files without affecting the originals.

This screenshot shows a set of photos in the skeleton directory.

image

They appear on the user’s ownCloud Files page just like any other files.

image

Additional Configuration

You can redefine the location of the skeleton directory using the environment variable OWNCLOUD_SKELETON_DIRECTORY which then needs to be made available using a Docker volume.

Leave this directory empty if you do not want to copy any skeleton files.

The value of this config must not be empty, if you decide to use it.