chmod 446 (r--r--rw-)

chmod 446 gives the owner read permission, the group read, and everyone else read, write.

446Octal
-r--r--rw-ls -l (file)
u=r,g=r,o=rwSymbolic chmod

Change bits in the chmod calculator →

Breakdown

ClassDigitSymbolicReadWriteExecute
Owner (u)4r--✔——
Group (g)4r--✔——
Others (o)6rw-✔✔—

owner 4 = 4 · group 4 = 4 · others 6 = 4 + 2

Commands

chmod 446 file.txt
chmod u=r,g=r,o=rw file.txt     # same thing, symbolic
chmod -R 446 folder/        # recursive (careful: applies to files and directories)
find folder -type f -exec chmod 446 {} +   # only files

Applied to a directory

Things to know

Related modes

Frequently asked questions

What does chmod 446 mean?
Owner: r--, group: r--, others: rw-. In ls -l output a file with this mode shows -r--r--rw-.
How do I set 446 with umask?
New files start from 666 and directories from 777, minus the umask. For new directories, umask 331 yields 446. For new files, umask 220 yields 446.