Linux group question

Patrick O'Callaghan pocallaghan at gmail.com
Mon Mar 24 23:23:15 UTC 2008


Please don't hijack existing threads to talk about unrelated topics.
This question should be a new thread.

On Mon, 2008-03-24 at 17:14 -0600, kevin kempter wrote: 
> Hi List;
> 
> I have 2 users which both have need to access various database related  
> files.I've created a new group called 'dba'. Most of the time I want  
> the users to create files with their default user:group perms, however  
> when I'm working on these sql / db files I want the files to be  
> created with the default user as the owner but dba as the group.

The standard way of doing this is for the DB software to run setgid as
the dba group. Since you don't say what the DB software is, it's hard to
say if that's appropriate in your case.

poc




More information about the fedora-list mailing list