summaryrefslogtreecommitdiffstats
path: root/scripts/nextcloud-data-persmissions.sh
blob: 4156fa5433a09ac3ec7a87e920c62c227636c208 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash
voldata='/home/lemon/Nextcloud/'

printf "chmod Files and Directories\n"
find ${voldata}/ -type f -print0 | xargs -0 chmod 0640
find ${voldata}/ -type d -print0 | xargs -0 chmod 0750