Linux / Unix Permission Modes Table

Permission Modes

The permission mode is computed by adding up the following values for the user, the file group, and for everyone else. The diagram shows how.

  • Read 4 – Allowed to read files
  • Write 2 – Allowed to write/modify files
  • eXecute1 – Read/write/delete/modify/directory

Example Permission Modes

ModeStr PermsExplanation
0477-r–rwxrwxowner has read only (4), other and group has rwx (7)
0677-rw-rwxrwxowner has rw only(6), other and group has rwx (7)
0444-r–r–r–all have read only (4)
0666-rw-rw-rw-all have rw only (6)
0400-r——–owner has read only(4), group and others have no permission(0)
0600-rw——-owner has rw only, group and others have no permission
0470-r–rwx—owner has read only, group has rwx, others have no permission
0407-r—–rwxowner has read only, other has rwx, group has no permission
0670-rw-rwx—owner has rw only, group has rwx, others have no permission
0607-rw—-rwxowner has rw only, group has no permission and others have rwx

Every Permission 0000 to 0777 ^

chmod, umask, file permissions testThis shows what each numeric permission does to a REGULAR file. I’ll provide the code to do this below so you can do the same thing on your server.

chmod 0
chmod 1
chmod 2
chmod 3
chmod 4
chmod 5
chmod 6
chmod 7
chmod 10
chmod 11
chmod 12
chmod 13
chmod 14
chmod 15
chmod 16
chmod 17
chmod 20
chmod 21
chmod 22
chmod 23
chmod 24
chmod 25
chmod 26
chmod 27
chmod 30
chmod 31
chmod 32
chmod 33
chmod 34
chmod 35
chmod 36
chmod 37
chmod 40
chmod 41
chmod 42
chmod 43
chmod 44
chmod 45
chmod 46
chmod 47
chmod 50
chmod 51
chmod 52
chmod 53
chmod 54
chmod 55
chmod 56
chmod 57
chmod 60
chmod 61
chmod 62
chmod 63
chmod 64
chmod 65
chmod 66
chmod 67
chmod 70
chmod 71
chmod 72
chmod 73
chmod 74
chmod 75
chmod 76
chmod 77
chmod 100
chmod 101
chmod 102
chmod 103
chmod 104
chmod 105
chmod 106
chmod 107
chmod 110
chmod 111
chmod 112
chmod 113
chmod 114
chmod 115
chmod 116
chmod 117
chmod 120
chmod 121
chmod 122
chmod 123
chmod 124
chmod 125
chmod 126
chmod 127
chmod 130
chmod 131
chmod 132
chmod 133
chmod 134
chmod 135
chmod 136
chmod 137
chmod 140
chmod 141
chmod 142
chmod 143
chmod 144
chmod 145
chmod 146
chmod 147
chmod 150
chmod 151
chmod 152
chmod 153
chmod 154
chmod 155
chmod 156
chmod 157
chmod 160
chmod 161
chmod 162
chmod 163
chmod 164
chmod 165
chmod 166
chmod 167
chmod 170
chmod 171
chmod 172
chmod 173
chmod 174
chmod 175
chmod 176
chmod 177
chmod 200
chmod 201
chmod 202
chmod 203
chmod 204
chmod 205
chmod 206
chmod 207
chmod 210
chmod 211
chmod 212
chmod 213
chmod 214
chmod 215
chmod 216
chmod 217
chmod 220
chmod 221
chmod 222
chmod 223
chmod 224
chmod 225
chmod 226
chmod 227
chmod 230
chmod 231
chmod 232
chmod 233
chmod 234
chmod 235
chmod 236
chmod 237
chmod 240
chmod 241
chmod 242
chmod 243
chmod 244
chmod 245
chmod 246
chmod 247
chmod 250
chmod 251
chmod 252
chmod 253
chmod 254
chmod 255
chmod 256
chmod 257
chmod 260
chmod 261
chmod 262
chmod 263
chmod 264
chmod 265
chmod 266
chmod 267
chmod 270
chmod 271
chmod 272
chmod 273
chmod 274
chmod 275
chmod 276
chmod 277
chmod 300
chmod 301
chmod 302
chmod 303
chmod 304
chmod 305
chmod 306
chmod 307
chmod 310
chmod 311
chmod 312
chmod 313
chmod 314
chmod 315
chmod 316
chmod 317
chmod 320
chmod 321
chmod 322
chmod 323
chmod 324
chmod 325
chmod 326
chmod 327
chmod 330
chmod 331
chmod 332
chmod 333
chmod 334
chmod 335
chmod 336
chmod 337
chmod 340
chmod 341
chmod 342
chmod 343
chmod 344
chmod 345
chmod 346
chmod 347
chmod 350
chmod 351
chmod 352
chmod 353
chmod 354
chmod 355
chmod 356
chmod 357
chmod 360
chmod 361
chmod 362
chmod 363
chmod 364
chmod 365
chmod 366
chmod 367
chmod 370
chmod 371
chmod 372
chmod 373
chmod 374
chmod 375
chmod 376
chmod 377
chmod 400
chmod 401
chmod 402
chmod 403
chmod 404
chmod 405
chmod 406
chmod 407
chmod 410
chmod 411
chmod 412
chmod 413
chmod 414
chmod 415
chmod 416
chmod 417
chmod 420
chmod 421
chmod 422
chmod 423
chmod 424
chmod 425
chmod 426
chmod 427
chmod 430
chmod 431
chmod 432
chmod 433
chmod 434
chmod 435
chmod 436
chmod 437
chmod 440
chmod 441
chmod 442
chmod 443
chmod 444
chmod 445
chmod 446
chmod 447
chmod 450
chmod 451
chmod 452
chmod 453
chmod 454
chmod 455
chmod 456
chmod 457
chmod 460
chmod 461
chmod 462
chmod 463
chmod 464
chmod 465
chmod 466
chmod 467
chmod 470
chmod 471
chmod 472
chmod 473
chmod 474
chmod 475
chmod 476
chmod 477
chmod 500
chmod 501
chmod 502
chmod 503
chmod 504
chmod 505
chmod 506
chmod 507
chmod 510
chmod 511
chmod 512
chmod 513
chmod 514
chmod 515
chmod 516
chmod 517
chmod 520
chmod 521
chmod 522
chmod 523
chmod 524
chmod 525
chmod 526
chmod 527
chmod 530
chmod 531
chmod 532
chmod 533
chmod 534
chmod 535
chmod 536
chmod 537
chmod 540
chmod 541
chmod 542
chmod 543
chmod 544
chmod 545
chmod 546
chmod 547
chmod 550
chmod 551
chmod 552
chmod 553
chmod 554
chmod 555
chmod 556
chmod 557
chmod 560
chmod 561
chmod 562
chmod 563
chmod 564
chmod 565
chmod 566
chmod 567
chmod 570
chmod 571
chmod 572
chmod 573
chmod 574
chmod 575
chmod 576
chmod 577
chmod 600
chmod 601
chmod 602
chmod 603
chmod 604
chmod 605
chmod 606
chmod 607
chmod 610
chmod 611
chmod 612
chmod 613
chmod 614
chmod 615
chmod 616