[KLUG Members] RE: Re: A [simple?] question (Robert G. Brown)

Robert V. Kanaley members@kalamazoolinux.org
Mon, 24 May 2004 12:05:40 -0500


>>> On UNIX systems generally, what determines the permission settings for
>>> a file that is newly created by a program?
>>I just ran across this article linked on a news site that explains the
>>default premissions extremely well:
>>http://www.sun.com/bigadmin/content>/submitted/umask_permissions.html?biga
=15
>
>This is a good article on the topic, and I recommend it to anyone who is
>interested in this. It conforms a lot of what I believe (which naturally
>makes it better!:).
>
>I will be following up on this during this week, and will report back when
>I know the response of the vendor.

Since your post has to do with a program creating a file, I think the
following link adds additional pertinent information for programmatically
addressing file creation permissions.

http://www.belgeler.org/glibc/glibc-Setting-Permissions.html

Regards,

Bob

Robert V. Kanaley
Manager Information Systems
Agdia, Inc.
rvk@agdia.com
http://www.agdia.com