chmod ਕੈਲਕੁਲੇਟਰ
ਯੂਨਿਕਸ ਇਜਾਜ਼ਤਾਂ ਦਾ ਹਿਸਾਬ ਲਗਾਓ
ਤੁਹਾਡੇ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਚੱਲਦਾ ਹੈ · ਕੋਈ ਅੱਪਲੋਡ ਨਹੀਂ
ਇਹ ਟੂਲ ਅਤੇ ਇਸ ਪੰਨੇ ਦੀਆਂ ਹਿਦਾਇਤਾਂ ਫ਼ਿਲਹਾਲ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਹਨ। ਇਹ ਉਸੇ ਤਰ੍ਹਾਂ ਕੰਮ ਕਰਦਾ ਹੈ: ਸਭ ਕੁਝ ਤੁਹਾਡੇ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਚੱਲਦਾ ਹੈ।
| Who | Read | Write | Execute |
|---|---|---|---|
| Owner (u) | |||
| Group (g) | |||
| Others (o) |
Commands
ਇਹ ਟੂਲ ਚਲਾਉਣ ਲਈ ਤੁਹਾਡਾ ਬ੍ਰਾਊਜ਼ਰ ਬਹੁਤ ਪੁਰਾਣਾ ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਇਸਨੂੰ ਅੱਪਡੇਟ ਕਰੋ, ਜਾਂ Chrome, Edge, Firefox ਜਾਂ Safari ਦਾ ਮੌਜੂਦਾ ਸੰਸਕਰਣ ਵਰਤੋ।
- ਕੁਝ ਵੀ ਤੁਹਾਡਾ ਡਿਵਾਈਸ ਨਹੀਂ ਛੱਡਦਾ
- ਸਰਵਰ ਵੱਲੋਂ ਆਕਾਰ ਦੀ ਕੋਈ ਹੱਦ ਨਹੀਂ
- ਸਾਈਨ-ਅੱਪ ਨਹੀਂ, ਵਾਟਰਮਾਰਕ ਨਹੀਂ
- ਮੁਫ਼ਤ
How to work out chmod permissions
- Tick the permissions, type an octal number, or type the letters as ls -l shows them.
- Add special bits if you need them.
- Copy the chmod command.
Reading the numbers
| Number | Letters | Meaning |
|---|---|---|
| 7 | rwx | read, write and execute |
| 6 | rw- | read and write |
| 5 | r-x | read and execute |
| 4 | r-- | read only |
| 0 | --- | nothing |
Common choices
- 644 for normal files (only the owner can change them).
- 755 for folders and scripts.
- 600 for private files such as SSH keys and .env files, and 700 for private folders.
- Avoid 777: everyone on the server can change the file.
ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ
What do s and t mean in rwsr-xr-x?
s is setuid or setgid: the program runs with the owner's (or group's) rights. t is the sticky bit: in a shared folder, people can delete only their own files. A capital S or T means the bit is set without execute permission.
Is anything sent anywhere?
No. Everything happens in your browser, and the page is blocked from uploading anything.