Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: FormerLib
I've actually written a "daemon". Most Unix machines have them. Will the horrors never cease? :-) Of course I'm replying on a Mac running OS X.

Trivial information alert. For those curious about "chmod 666", the Unix command "chmod" stands for "change mode" which changes the way a file can be read. Each file has 4 octal (base 8) number associated with it. Each octal number represents 3 binary bits such that 000 is 0, 001 is 1, 010 is 2, 011 is 3, 100 is 4, 101 is 5, 110 is 6, and 111 is 7. The first of the three bits is for "read", the second bit is for "write", and the third bit is for "execute" meaning that it is a program that can be run. If the bit is on or "1", then you can do the thing that it represents. There are 3 octal numbers representing the rights that the owner of the file has, the rights that the files group has, and the rights that everyone else has. A 4th octal number can specify some other information about the file that is much more complicated but most people just deal with the 3 octal numbers. Got it? So if you want to set a file so that the owner, the group, and others can read or write the file, you use the octal number for 110 which is 6 three times. You see the number isn't six hundred and sixty six but (6 * 64) + (6 * 8) + 6 = 438, hardly a demonic number.

25 posted on 04/23/2002 9:02:44 PM PDT by Question_Assumptions
[ Post Reply | Private Reply | To 2 | View Replies ]


To: All
Operating systems? The future of operating systems is LINUX. I was at a DC area LINUX users group meeting once at which RedHat reps were asked point blank if there would be linux ports for the Mac and they said, to the best of their knowledge, nobody in the LINUX world was interested in Macs.
26 posted on 04/23/2002 9:10:47 PM PDT by medved
[ Post Reply | Private Reply | To 25 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson