I have followed instructions ‘How to change default files by creating a custom skeleton directory?’ at:
The new skeleton folder location works fine but now I want add/delete files and folders in the new skeleton folder.
What commands do I need to achieve this please?
Here’s what I’ve done so far:
#############################
COPY EXISTING SKELETON FOLDER
#############################
sudo docker cp --follow-link /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/core/skeleton/ nextcloud-aio-nextcloud:/mnt/ncdata/skeleton/
#############################
SET NEW SKELETON FOLDER PERMISIONS
#############################
sudo docker exec nextcloud-aio-nextcloud chown -R 33:0 /mnt/ncdata/skeleton/
sudo docker exec nextcloud-aio-nextcloud chmod -R 750 /mnt/ncdata/skeleton/
#############################
SET NEW SKELETON FOLDER LOCATION IN CONFIG FILE
#############################
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set skeletondirectory --value=“/mnt/ncdata/skeleton”
Many many thanks!