[KLUG Members] A [simple?] question
Brandon Rasler
members@kalamazoolinux.org
Fri, 14 May 2004 09:05:03 -0500
Robert G. Brown wrote:
>On UNIX systems generally, what determines the permission settings for
>a file that is newly created by a program?
>
>
I would say it depends on who is running said program.
[brandon@sql ~]$ touch hmm
[brandon@sql ~]$ ls -al hmm
-rw-rw-r-- 1 brandon brandon 0 May 14 09:02 hmm
[root@sql brandon]# touch hmm1
[root@sql brandon]# ls -al hmm1
-rw-r--r-- 1 root root 0 May 14 09:03 hmm1
Maybe this is too simple an answer?
Brandon