Creating files and directories
Robert C Paulsen Jr
robert at paulsenonline.net
Tue May 11 11:25:28 UTC 2004
On Tue, 2004-05-11 at 06:01, Deleo Paulo Ribeiro Junior wrote:
> Hello!
>
> Every time I create a directory or file (or one of the users of my
> system) the creation status is allways:
>
> Owner:
> Read / Write / Execute
>
> Group:
> Read / Execute
>
> Global:
> Read / Execute
>
> I would like to have the status Read / Write / Execute to Group set
> automaticaly.
>
> Can anyone tell me how do I make this. I have already set all the
> parameters I thought I need but it never works.
>
Check out the umask command.
If you enter "umask" without arguments I think you will see "0022".
Try entering "umask 0002" and then creating files and directories. I
think that will get you what you want.
More information about the redhat-list
mailing list