sudo zfs set acltype=posixacl pool/path
setfacl -Rm g:debian-transmission:rwx .
setfacl -d -Rm g:debian-transmission:rwx .
# Check if the script is running with administrator privileges | |
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | |
# If the script is not running with administrator privileges, prompt the user to elevate | |
if (-not $isAdmin) { | |
Write-Host "This script requires administrator privileges. Please enter your credentials to continue:" | |
Start-Process powershell.exe -Verb RunAs -ArgumentList "-File `"$($MyInvocation.MyCommand.Path)`"" | |
exit | |
} |
<?php | |
interface StartEngineInterface | |
{ | |
public function start($arg1, $arg2, $arg3); | |
} | |
class Car implements StartEngineInterface | |
{ | |
private $engine; |
sudo zfs set acltype=posixacl pool/path
setfacl -Rm g:debian-transmission:rwx .
setfacl -d -Rm g:debian-transmission:rwx .
//192.168.0.x/MyShare /media/user/MyShare cifs credentials=/home/user/.smbcredentials,noauto,iocharset=utf8,vers=3.11,users 0 0 |
-i','--in-interface','The incoming interface name
-o','--out-interface','The outgoing interface name (same as the -i option) at this point
-j', '--jump','The action assocaiated with the rule ACCEPT or DROP',choices=['DROP','ACCEPT','ACCEPT-TRAP','TRAP']
-I','-A','The INPUT or OUTPUT chain which maps to the INGRESS or EGRESS tables',choices=['INPUT','OUTPUT']
-p', '--protocol','The IP protocol type (TCP/UDP/ICMP)
-d', '--destination','Specify the destination IPv4/IPv6 address'
--dport','Specify the destination port number'