[torquedev] Spool permisions check fix for FreeBSD

trasz at pin.if.uz.zgora.pl trasz at pin.if.uz.zgora.pl
Sun Nov 19 03:03:44 MST 2006

On 1118T1814, Garrick Staples wrote:
> On Sat, Nov 18, 2006 at 03:38:38PM +0100, trasz at pin.if.uz.zgora.pl alleged:
> > In FreeBSD, new files are created with group equal to the group of the
> > containing directory, not with group of creating process.  Thus, files
> > created in /var/spool/torque/spool have group 'wheel', which causes
> > pbs_mom to fail with 'pbs_mom: open_std_file, std file exists with
> > the wrong group, someone is doing something fishy' message when trying
> > to run an OpenMPI job.
> Why would the group be inherited?  You shouldn't have the group setid
> bit on spool set.

On BSD it's always this way, even without setgid set.  From 

'When a new file is created it is given the group of the directory which
contains it.'

More information about the torquedev mailing list