EXPORT ASCII won't

Fairlight fairlite at fairlite.com
Fri Jun 6 00:59:11 PDT 2014


First thing that comes to mind:  Is SELinux turned on?

I know for a fact that the default Apache rules for SELinux on CentOS/RHEL
are set to disallow writing of files to anywhere but /tmp no matter what
you do.  Who the hell knows how it might treat dreport if tuned
sufficiently ridiculously.

Try temporarily disabling SELinux if it's enabled, and re-run your tests.
You can figure out a long-term solution if the tests succeed.

I'm not saying it -is- that, I'm saying it feels -really- bloody familiar
and similar.

mark->

On Thu, Jun 05, 2014 at 11:29:12PM -0400, Jay Ashworth thus spoke:
> So I'm working on this export for a client a list member was kind enough to
> refer to me, and my export ascii just doesn't seem to want to drop a file 
> *anywhere*.
> 
> The manpage seems to disagree with itself whether a filename with no path
> will be written `pwd` or in $PFDIR/fpmerge, but I've tried with and without,
> and looked in `pwd`, in $PFDIR/fpmerge, in /appl/fpmerge, and in /tmp (when
> I specified that), and I get *nothing* at all.
> 
> No empty file; no file.
> 
> dreport was missing it's suid bit, but I fixed that, and all the relevant
> directories were 777 anyways.
> 
> I am running this -a on the table in question, and it's happily finding
> 2300 someodd records, and counting down through them. 
> 
> Yes, I used -y !!! and -z !!! in various combinations, and they didn't help
> either.
> 
> 4.5.... .05, I think.  Definitely 4.5 though.
> 
> ::export ascii exp=inventory.txt r=\n f=|:
>  then lots of
> ::exp(1)=1{"":
> and a write exp at the end.
> 
> Tried using a different tag than exp, as well.
> 
> Table passes syntax check, and does *nothing* else.
> 
> Any ideas, comrades? 
> 
> Cheers,
> -- jra
> -- 
> Jay R. Ashworth                  Baylink                       jra at baylink.com
> Designer                     The Things I Think                       RFC 2100
> Ashworth & Associates       http://www.bcp38.info          2000 Land Rover DII
> St Petersburg FL USA      BCP38: Ask For It By Name!           +1 727 647 1274
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 

-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list