On Sat, 24 Feb 2001, SoloCDM wrote:

> Without using chown, is there a command like umask that automatically
> marks the files with the specified owner and group?
>
> Note: When you reply to this message, please include the mailing
>       list/newsgroup address in Cc: and my email address in To:.
>
> *********************************************************************
> Signed,
> SoloCDM
>
If you want all files created in a specific directory to be owned by a
specific group, set the sgid bit on the directory.  User name is harder,
because only root can create files owned by another user.  Even if the
suid bit is set on a directory, the file will still be owned by the user
creating it.

Mikkel
 --

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to