blob: beb3b1144f65b0d5de18e97dcf611fa7468fd7f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
# media/music
create_dataset -p "${nfs_dataset}/media/music"
zfs set \
compression=off \
com.sun:auto-snapshot:daily=true \
com.sun:auto-snapshot:weekly=true \
"${nfs_dataset}/media/music"
chgrp media-admin "${nfs_root}/media/music"
chmod 2770 "${nfs_root}/media/music"
set_facl "${nfs_root}/media/music" \
group:media-admin:rwpDdaARWcs:fd:allow \
group:media-admin:x:d:allow \
group:media-access:raRcs:fd:allow \
group:media-access:x:d:allow
|