On Mon, 4 Dec 2000, Schlomo Schapiro wrote:
> Hi,
>
> I actually also need such a feature, but for a different reason:
>
> On the network server I am putting files into all kind of directories, but
> in each dir the files should have a different umask/gid, because some dirs
> are public and others are not and yet others are for the web server etc.
>
> Just now I put the files and chmod/chown them all the time. If I could set
> up a dir to create files with a certain umask/gid then I could work as
> user and the permissions and ownerships would come automatically.
I think that in that case permissions on the directories should take
care of the privacy problem (e.g., if only www has any permissions to the
/var/www directory, who cares about the permissions of the files inside?).
The gid can be solved by setting the setgid bit on the directories
in question.
--
Moshe Zadka <[EMAIL PROTECTED]> -- 95855124
http://moshez.org
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]