SemiOT: filePro on FreeBSD chown gotcha

Jay R. Ashworth jra at baylink.com
Tue Jun 22 10:47:23 PDT 2004


On Tue, Jun 22, 2004 at 01:39:26PM -0400, Fairlight wrote:
> This public service announcement was brought to you by Jay Ashworth:
> > > Hate to tell you, but Solaris 7 and 8 both constrain chown() as well.
> > 
> > Did you have the impression I'd be surprised?  Polaris is BSD-based.
> 
> Bzzzzt.  SVR4-based.  SunOS 4.1.x was the last truly BSD-based Sun offering.

I thought it was still dual-universe.  No?

> > They stole it from BSD.  Nice to know Polaris has a knob, at least.
> 
> SVR4 contains more than a modest amount of BSD code.  Solaris happens to be
> SVR4.  SVR3 contains none.  But SVR4 is still SysV.  It's just enhanced.

Hmmm...

> > That's the ugliest, least useful manpage I've *ever* seen.
> 
> You haven't been reading enough man pages.  :)

Thank ghod.

> > > This implies to me that it's configurable if you compile it non-BSD-style.
> > 
> > Compile *what*?  libc6?
> > 
> > Ick.
> 
> Unless you know of another location for the chown() system call, yes.  :)

I'll stick with 'ick', Alex.

> > If it ain't a runtime knob, it doesn't help me much...
> 
> Depends.  Rip apart the SRPM, tweak it in the .spec, and save your .spec
> file.  Then any time you need to upgrade, just do it from SRPM with the
> modified .spec that you made.
> 
> Takes longer to install, but it seems like they indicate it's possible.

I dunno; *my* interpretation of that manpage was that it was compliing
your *app* to use fchown that was what they meant.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

                2004 Stanley Cup Champion Tampa Bay Lightning


More information about the Filepro-list mailing list