Women in Technology

Hear us Roar



Article:
  ColdFusion MX on Mac OS X, Part 3
Subject:   Starting JRun and CFMX at boot
Date:   2003-01-13 16:18:31
From:   dicklacara
Response to: Starting JRun and CFMX at boot

Each rwx triplet (owner, group, other) is represented by the binary bits 421


r=4
w=2
x=1


When you specify a charmod setting there is 1 digit for each triplet which is the sum of the bits in that triplet


So, say the owner has Read and write privileges


r=4
w=2
x=0


The sum of the bits is 4+2+0 = 6, so the Owner Triplet is 6


Now, lets say the group has read priveges and execute privileges:


r=4
w=0
x=1


or 4+0+1= 5. The second (group) triplet is 5.


Finally, other users have execute only privileges:


r=0
w=0
x=1


or 0+0+1 = 1, the other triplet value is one


so, you combine the values for the triplets for Owner, Group and other to give:


chmod 651 .....


Common values are:


777 everybody has rwx


755 Owner has rwx, everyone else has r-x


Dick

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Starting JRun and CFMX at boot
    2003-01-14 09:22:55  lolajl [View]

    Thanks!