Instal ZYBERMART

Buka semua alat dari layar utama atau dock, di jendelanya sendiri. Alat yang pernah Anda gunakan juga bisa dipakai offline.

Kalkulator Chmod

Centang read, write, dan execute untuk owner, group, dan others untuk mendapatkan angka chmod, bentuk rwx, dan perintahnya.

Who Read Write Execute
Owner
Group
Others
Special
chmod 755 script.sh

How chmod numbers work

Add up the permissions for each group of people: read = 4, write = 2, execute = 1. Write the three sums in order: owner, group, others.

DigitSymbolicMeans
7rwxRead, write and execute
6rw-Read and write
5r-xRead and execute
4r--Read only
0---No access

Example

chmod 640 notes.txt: the owner can read and write (6), the group can read (4), and others can’t open it (0).

Frequently asked questions

What does chmod 755 mean?

Each digit is one group of people: the owner, the file's group, and everyone else. Each digit adds up read (4), write (2) and execute (1). 7 = 4 + 2 + 1, so the owner can read, write and run it; 5 = 4 + 1, so the group and others can read and run it but not change it.

Which permissions should I use?

Usually 644 for files (owner can edit, everyone can read) and 755 for folders and scripts (folders need execute to be opened). Use 600 for private files like SSH keys and 700 for private folders. Avoid 777: it lets anyone change the file.

What are setuid, setgid and the sticky bit?

Special permissions, shown as a fourth digit in front. setuid (4) runs a program as its owner, setgid (2) runs it as its group or makes new files in a folder inherit the folder's group, and the sticky bit (1) on a folder like /tmp means only a file's owner can delete it.

What does the symbolic form like rwxr-xr-x mean?

Three letters for each of owner, group and others: r for read, w for write, x for execute, and a dash where the permission is missing. ls -l shows permissions this way.

Masuk ke ZYBERMART

Simpan CV, invoice, flashcard, catatan, dan alat tersimpan Anda di semua perangkat. Gratis, dan semua alat tetap berfungsi sama tanpa akun.

atau

Tanpa kata sandi. Dengan masuk, Anda menyetujui ketentuan kami; lihat cara kami mengelola data Anda di kebijakan privasi.

Akun Anda

Saat keluar, salinan pekerjaan Anda tetap tersimpan di browser ini. Di komputer bersama, hapus data browser setelahnya.

Apa yang ingin Anda buat?

Desain

Media sosial

Dokumen

Belajar

Edit

Lihat semua 282 alat