permissions issue on print to a file
Brian K. White
brian at aljex.com
Fri Dec 1 14:19:07 PST 2006
----- Original Message -----
From: "Fairlight" <fairlite at fairlite.com>
To: "filePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Friday, December 01, 2006 5:04 PM
Subject: Re: permissions issue on print to a file
> 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.
Oh wahh. You're so funny I weep. :)
The file needs to be accessed and probably moved or removed by an unknown
user other than that which creates it, therefore it must be 666 or at the
very least 660 and then the two users and the file must all be members of a
common group which is not trivial to arrange. And only the two files are
getting created by those commands, both text documents not executables or
even scripts. Get over yourself already.
And your top comment implies I'm in your killfile, which is fine, except
then you don't know that I've actually supported your comments several times
and even directed work your way (and your wifes, the same week, in a bizarre
coincidence) recently. Idiot.
Brian K. White -- brian at aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
More information about the Filepro-list
mailing list