On 4/22/02 4:50 PM, "M. Uli Kusterer" <email@hidden> wrote:
> Typically, when I have problems that require me to chmod, it _is_
> because a downloaded executable wasn't flagged as such. I guess I
> didn't state that clearly enough, sorry.
> --
chmod 755 is the way to go, then. It gives read-write-execute to you and
read-execute to everyone else. Just think of it as a three-bit binary
number:
owner owner group everyone
CHMOD R | W | X R | W | X R | W | X
1 1 1 1 0 1 1 0 1 = chmod 755
1 1 0 1 0 0 1 0 0 = chmod 644
An example:
[ryan@perrin:~] % ls -l
-rwxr-xr-x 1 ryan staff 102 Apr 19 01:02 blah.cc
[ryan@perrin:~] % chmod 644 blah.cc
[ryan@perrin:~] % ls -l
-rw-r--r-- 1 ryan staff 102 Apr 19 01:02 blah.cc
Now user "ryan" can read/write blah.cc, the group "staff" can read, and
everyone else can read.
644 I use on my web server a lot since, for example, there's no use in
having gif files executable. ;) Some of my HTML files are executable, but
just because I'm a lazy-ass and use Apache's XBitHack for CGI execution.
My favorite part is this:
If you are using a new Macintosh running OS X then you probably have these
"daemons" on your computer, hardly something a good Christian would want!
This clearly illustrates that not only is Macintosh based on Darwinism, but
Darwinism is based on Satanism.
Heh, heh... ah well... joke or not, it's a good laugh.
Ryan
_______________________________________________
studentdev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/studentdev
Do not post admin requests to the list. They will be ignored.