SemiOT: filePro on FreeBSD chown gotcha

Bill Vermillion fp at wjv.com
Tue Jun 22 09:15:21 PDT 2004


On Tue, Jun 22, 2004 at 12:04:13PM -0400, Walter Vaughan thus spoke:
> We've spent a few hours chasing our tails around here with an issue that 
>  seems like we've actually bitten our own tail.
> 
> Using a filePro export to create a file...
> using "CLOSE" to make sure it gets written... file looks fine
> just need to move file to a "watched" directory and everything will be 
> peachy-keen.
> 
> Using system "cp" < file < watch_directory worked, except that it left 
> the file as 0600 owned by filepro, and the watching program needed it 
> read-writeable.

You don't say what your watch program is, but can that program
be made to run SUID filepro?

Though I've not used it 'fam' is a 'file alternation monitor'
and then relays changes to interested applications.  It's
originally from SGI and is availabe in in ports on FreeBSD.

So maybe having a watch program just watch might work.  I think it
strange that a watch program has to have write access to a file
it is watching.


-- 
Bill Vermillion - bv @ wjv . com


More information about the Filepro-list mailing list