Re:extropians-digest V5 #100

From: Lee Daniel Crocker (lee@piclab.com)
Date: Wed Apr 12 2000 - 09:47:30 MDT


> Have you ever noticed, that when you UUENCODE a file, it will start with the
> letters "Begin 666" ?
>
> Anyone to venture a guess/explanation?

That's the Unix file access permissions of the original file, in octal.
The three digits represent permissions for the file owner, the owner's
group, and all other users. The the bits of each digit represent read,
write, and execute permissions. The most common set of permissions for
an ordinary file is read and write but not execute for everyone, thus
666. Executables will be 777 or 555. Other common values are to give
permission to owner and group but not everyone, which is 664.

--
Lee Daniel Crocker <lee@piclab.com> <http://www.piclab.com/lcrocker.html>
"All inventions or works of authorship original to me, herein and past,
are placed irrevocably in the public domain, and may be used or modified
for any purpose, without permission, attribution, or notification."--LDC



This archive was generated by hypermail 2b29 : Thu Jul 27 2000 - 14:09:16 MDT