aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostname/nfs1/20-shares
blob: ef013cc062be9f9b744120e894a5af01d9f1ba17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# media/music
create_dataset -p "${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