On Sun, Nov 17, 2002 at 09:49:37PM -0700, Ashley M. Kirchner wrote:
> 
>     I need all newly created files within /var/spool/mail to be go-rw - is
> there a way to do that?  Right now, all newly created files within that
> directory is ug+rw, and I have to manually go in and chmod them g-rw again.  Is
> there a way to have the permissions be correct when the file gets created in
> the first place?

You can use umask to set the default permissions when a file or directory is created
by a user, but it does not, as far as I know, allow you to specify the permissions for
files or directory created in a specific directory.

And I don't think that there are any programs that allow you to do that. I could, of
course, be wrong.

t.irvine

> 
> --
> H | I haven't lost my mind; it's backed up on tape somewhere.
>   +--------------------------------------------------------------------
>   Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
>   IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
>   Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
>   http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.
> 
> 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to