Unix File Permissions (chmod)
File
Round-trips between the three forms unix uses for file permissions: the bit checkboxes, the octal (sometimes four digits when setuid/setgid/sticky are set), and the ls-style symbolic string. The bottom section emits ready-to-copy chmod and find -perm commands plus a human-readable summary, so you can see at a glance what 4755 actually grants. Common modes are one click away via the preset row.
- chmodchmod 755 <file>
- find -permfind . -type f -perm 755
- Meaning
- owner: read + write + execute
- group: read + execute
- other: read + execute
Symbolic uses s/S for setuid/setgid and t/T for sticky — capital means the special bit is set but the matching x is not.
How to use
- Pick a preset, or paste an octal mode you copied off a tutorial, or type the symbolic form.
- Tick the special-bit boxes (setuid, setgid, sticky) if you need them.
- Copy the chmod command into your shell.
Frequently asked questions
- Why is 755 "correct" for directories?
- Directories need the execute bit to be traversable — without x on a directory you can list its name but not cd into it. 755 gives the owner full control and lets everyone else traverse + read.
- What does the s in rws actually do?
- On an executable file, setuid (the s bit in the user-execute slot) makes the file run with the owner's effective UID instead of the caller's. On a directory, setgid makes new files inherit the directory's group. Sticky on a directory (like /tmp) means only the file's owner can delete it.
Related tools
Image → PDF Converter
Combine multiple JPG / PNG images into a single PDF with adjustable page size, orientation, and fit.
ZIP Inspector
Drop a ZIP and see every file inside — sizes, contents, and per-file download — without unpacking it locally.
File Splitter
Split a large file into smaller chunks to bypass attachment or upload size limits.
Text Encoding Converter
Open text files in legacy encodings (EUC-KR, Shift_JIS, Windows-1252…) as readable UTF-8.
File Hash (Checksum)
Compute SHA-1, SHA-256, and SHA-512 checksums of any file.
CSV ↔ JSON Converter
Convert CSV to JSON and JSON back to CSV, with a delimiter option.