I have a group that a few users belong to and a directory that they
are all sharing to create data. Since they all do other work and
belong to various different primary groups, I created a special group
just for this project. However I can't seem to figure out any way to
make it so that any file created in that directory belongs to the new
group _by default_. This way the other members of this group will
alsobe able to write to the file since the permissions on the
directory are 775.
Thus I am seeking a solution whereby the users do not have to remember
to do newgrp new_group and then newgrp back to their old "primary"
group. Currently what is happening is that while each person may have
write access to the directory, each person is creating files that
belong to their primary group and thus are unwritable by those members
of the special group who to other, different groups.
I am using a Sun Ultra 2000 running 2.4 and 2 5000's running 2.5.1.