Re: Problem with Files Sharing in One System
On Fri, 2003-07-25 at 01:09, Yuhanes Tjandra wrote:
> Hi,
> I need to share some files between certain users in a linux system.
> Therefore I created a new group and I put those users in that group.
>
> The problem is every user in that group saves/creates a file with
> his/her own group. Right now, with administrator privilege, I can change
> it either manually or put the commands in cron. IMO, it's not quite effective though.
>
> Is there any better way to do that?
Why yes, there is it is called placing a sticky bit on the Directory:
chmod g+s directory
As well as changing the group to the proper one, then provided the umask
is correct... you should be OK.
Reply to: