permissions issue on print to a file
Fairlight
fairlite at fairlite.com
Fri Dec 1 14:04:29 PST 2006
This was something I'd never have seen had it not been up for approval, but
it's just as well I did. It deserves comment.
----- Forwarded message from filepro-list-owner at lists.celestial.com -----
> From: "Brian K. White" <brian at aljex.com>
> Date: Fri, 1 Dec 2006 16:15:31 -0500
> Subject: Re: permissions issue on print to a file
>
> You need to create the file with open permissions beforehand, instead of
> allowing filepro to create it.
[snip]
> then: system "umask 0;>"{ee<";rreport ... -pc
NEVER take this advice on using this methodology. EVER. Not if you value
the security and integrity of the resultant files.
Anyone intentionally using 'umask 0' deserves to have their system access
yanked immediately, IMNSHO. Anyone that can't see the inherent problems in
doing so shouldn't even be using a *nix system that lets them gain access
to a command prompt, but since someone lets them anyway, read this:
http://www.fairlite.com/fc/articles/mode-essay.shtml
'nuff said.
mark->
More information about the Filepro-list
mailing list