On Wed, Oct 18, 2000 at 10:12:51PM -0400, rpjday wrote:
| On Wed, 18 Oct 2000, Justin Zygmont wrote:
| > The subject was creating files with a umask, read the original question.
| to recap, i believe the original question was why files *started*
| with an initial perm of 666, to which the umask was applied.
| i believe that was chosen just so a newly-created file was
| explicitiy *not* executable -- that was considered inherently
| unsafe, and it was decided that, if you wanted a file to be
| executable, you had to do it yourself.
The first part is right, the second not.
Most files are initially not execuatble - you use your editor to make
data (email, tables, whatever) mostly. So damn near every tool uses
0666.
Tools which _normally_ make executables use 0777 as the base pattern.
The final phase of a compiler is pretty much the only example of this.
But umask works there just fine too.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Trust the computer... the computer is your friend.
- Richard Dominelli <[EMAIL PROTECTED]>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list