<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><br><br>Thank you very much.<br>I will use one of the workarounds.<br><br>Flavius.<br></div><br><br><br><hr id="stopSpelling">&gt; Date: Tue, 14 Oct 2008 12:51:43 -0400<br>&gt; From: fairlite@fairlite.com<br>&gt; To: filepro-list@lists.celestial.com<br>&gt; Subject: Re: umask for exported files<br>&gt; <br>&gt; In the relative spacial/temporal region of Tue, Oct 14, 2008 at 10:29:00AM<br>&gt; -0500, flavius m achieved the spontaneous generation of the following:<br>&gt; &gt; Hello,<br>&gt; &gt;<br>&gt; &gt; I am running filepro 5.6 under Linux.  I am trying to change the default<br>&gt; &gt; umask for filepro. Currently, filepro creates files/directories with 700<br>&gt; &gt; permissions and I need it to be 755.<br>&gt; &gt;<br>&gt; &gt; This is what I have done until now: - I have added "umask 0022" to<br>&gt; &gt; /etc/profile, /home/filepro/.bashrc, /home/filepro/.profile - I have<br>&gt; &gt; added PFUMASK=0022 in filepro configuration<br>&gt; &gt;<br>&gt; &gt; Unfortunatelly, none of the above modified the umask.<br>&gt; &gt;<br>&gt; &gt; I would appreciate any help on that.<br>&gt; &gt;<br>&gt; &gt; Thank you, Flavius Moldovan<br>&gt; <br>&gt; Oh, Flavius, that's a sore point.  I feel your pain.<br>&gt; <br>&gt; You can't do anything about the problem utilising umask, unfortunately.<br>&gt; <br>&gt; The vendor, in their infinite "wisdom", has ignored over thirteen years<br>&gt; (over multiple owners) of me begging, as a security-conscious sysadmin,<br>&gt; for this to be fixed.  They have blatantly ignored every attempt to get<br>&gt; this problem rectified, and I can only surmise that they have no desire to<br>&gt; address security concerns regarding their product's output.<br>&gt; <br>&gt; You have two options available to you, neither ideal:<br>&gt; <br>&gt; 1) Use open() in your code, and then close the file.  Then export to that<br>&gt; same file.  fP's open() uses mode 0600--also a mistakenly hardwired and<br>&gt; immutable value.  Oh, actually I think the HTML file opening command uses<br>&gt; 0644, -also- a hardwired value.  I know there are three ways to get<br>&gt; different modes out of it, and I'm pretty sure that's the third one.<br>&gt; <br>&gt; 2) You can use system() to execute an external chmod from within your<br>&gt; processing, and just suck up the overhead and race condition inherent to<br>&gt; this "solution".<br>&gt; <br>&gt; Bottom line is that fP has -never- worked properly in this regard, and<br>&gt; because you use their product, you've been left to fend for your security<br>&gt; on your own.  I'm sure they're sorry for the inconvenience--sometimes,<br>&gt; maybe, perhaps, in some alternate reality where they actually give a damn<br>&gt; about something other than adding spell checkers.<br>&gt; <br>&gt; They've known about this since 4.1 when I first complained in 1993-1995.<br>&gt; Then there was 4.5, 4.8, 5.0, and now 5.6.  It's still not fixed, and I'm<br>&gt; sincerely doubting it ever will be.<br>&gt; <br>&gt; mark-&gt;<br>&gt; -- <br>&gt; "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along<br>&gt; the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade"<br>&gt; _______________________________________________<br>&gt; Filepro-list mailing list<br>&gt; Filepro-list@lists.celestial.com<br>&gt; http://mailman.celestial.com/mailman/listinfo/filepro-list<br><br /><hr />See how Windows connects the people, information, and fun that are part of your life. <a href='http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/' target='_new'>See Now</a></body>
</html>