[torquedev] Spool permisions check fix for FreeBSD
garrick at clusterresources.com
Mon Nov 20 14:01:42 MST 2006
On Sun, Nov 19, 2006 at 11:03:44AM +0100, trasz at pin.if.uz.zgora.pl alleged:
> 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.'
Wow, doesn't that break POSIX?
I'll include the patch.
More information about the torquedev