MB Networks
TOOL-27 · Permissions
Check boxes, type an octal number, or edit the symbolic string — all three stay in sync. Plus a umask calculator below for default file/directory permissions.
umask → default permissions
New files
644 (rw-r--r--)
New directories
755 (rwxr-xr-x)
umask works by masking bits away from a starting point, never adding them — for files that starting point is 666 (rw-rw-rw-), which has no execute bit to begin with. That's why a freshly-created text file or script is never executable immediately, even with a permissive umask of 000 — you still need a separate chmod +x to make it run. Directories start from 777 instead, since traversing a directory requires the execute bit.
Each digit in a three-digit octal permission is its own read/write/execute sum for one category — owner, group, then everyone else — where read=4, write=2, execute=1 and you add whichever apply. 754 is owner=7 (rwx), group=5 (r-x), other=4 (r--); it's never one number describing the whole file, always three independent 0–7 values side by side.
It removes write permission for group and other from whatever the default would otherwise be — new files land at 644 (rw-r--r--) instead of 666, and new directories at 755 instead of 777. It's the standard default on most Linux distributions.
777 grants read, write, and execute to literally everyone on the system, including accounts that have no legitimate reason to modify or run that file — it's a common "make the error go away" fix that actually papers over a permissions or ownership problem worth diagnosing properly instead.
Numeric mode (chmod 644 file) sets the exact permission from scratch; symbolic mode (chmod u+x file) adjusts specific bits relative to whatever the file already has, without needing to know or restate the rest. Symbolic mode is often safer for a targeted change since it can't accidentally reset bits you didn't mean to touch.
Related tools
DevOps
SSH Config Builder
Build an SSH config file from a form — host aliases, ports, identity files, ProxyJump, and keepalives. No account, nothing leaves your browser.
Open →DevOps
Cron Expression Builder
Build or decode cron expressions. Enter a cron schedule and get a plain-English description plus the next 10 run times.
Open →DevOps
rsync Command Builder
Build an rsync command from checkboxes with plain-English explanations of every flag — archive mode, deletes, excludes, dry-run, and SSH transport. No account, nothing leaves your browser.
Open →DevOps
systemd Service & Timer Builder
Generate a systemd .service and .timer unit pair from a form — command, user, schedule, and the systemctl commands to enable it. No account, nothing leaves your browser.
Open →DevOps
Crontab to systemd Timer Converter
Convert a crontab line into a systemd .service + .timer pair, including the two-OnCalendar-line trick for cron's day-of-month/day-of-week OR behavior. No account, nothing leaves your browser.
Open →DevOps
Docker Compose Generator
Build a valid Docker Compose file from a form — services, images, ports, volumes, environment variables, and restart policy. No account, nothing leaves your browser.
Open →