[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Permission bits was Sound on VIA epia C3-533



--- Paul Pianta <pantz lqt ca> wrote:
> David D. Nelson wrote:
> 
> > BTW, do I have the numbers right:
> >
> >  --- = 0
> >  r-- = 1
> >  -w- = 2
> >  --x = 4
> >and then just add the numbers to get the digits for
> >chmod?
> >
> almost got it - just a bit backwards ...
> 
> 2^2    2^1    2^0
> 4        2        1
> r        w        x
> 
> ie.
> r-- = 4+0+0
> rwx = 4+2+1
> etc ...
> 
> p.s. 2^2 should be read as 'two to the power of two'
> - ie. 2x2

Thanks Paul. I figured it was basically the same way
SCSI IDs are set. My wife bought me a BCD clock which
uses LEDs to show the time in binary coded decimal.
I'm not to fast at reading the time on it yet.



=====
David D. Nelson
nelsda yahoo com

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]