Created
December 26, 2022 15:29
-
-
Save kerus1024/34fc25be33bc3014079ca0d1d3533925 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://www.geeksforgeeks.org/access-control-listsacl-linux/ | |
cid=111 | |
pct set $cid -mp0 /mnt/pve/storage1/native,mp=/storage1 | |
setfacl -Rm g:100033:rwx,d:g:100033:rwx /mnt/pve/storage1/lxcdisk/ | |
# setfacl -m u:100000:rw -m g:100000:rw /dev/net/tun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment