Linux
Installation
SKILL.md
Linux Gotchas
Permission Traps
chmod 777fixes nothing, breaks everything — find the actual owner/group issue- Setuid on scripts is ignored for security — only works on binaries
chown -Rfollows symlinks outside target directory — use--no-dereference- Default umask 022 makes files world-readable — set 077 for sensitive systems
- ACLs override traditional permissions silently — check with
getfacl
Process Gotchas
killsends SIGTERM by default, not SIGKILL — process can ignore itnohupdoesn't work if process already running — usedisowninstead- Background job with
&still dies on terminal close withoutdisownornohup - Zombie processes can't be killed — parent must call wait() or be killed
kill -9skips cleanup handlers — data loss possible, use SIGTERM first