system noredraw + wget command

Kenneth Brody kenbrody at bestweb.net
Tue Jan 24 11:52:35 PST 2006


Quoting Enrique Arredondo (Tue, 24 Jan 2006 11:35:32 -0800 (PST)):

> I'm running this command so I can get information from remote Customers
> but every time the report runs it gives me an error on the screen but
> then it keeps doing it's job, what is that all about ?
>
> Then : aaa="umask 0;"
> Then : aab="/usr2/tmp/gotit"
> Then : system noredraw aaa<"wget -q -O"<aab<"http://bla..asp?serial=123"
>
>
>                            Records Selected:         8
>
>                           Generating Output:         0 wget: Cannot read
> /usr2/user/.netrc (Permission denied).
>
>
> If I run this from the command line I don't get the error. Is it
> filepro's permissions ? Should I just do a "chmod 777 .netrc" ?

Remember, by default, SYSTEM commands are run as euid 'filepro'.  You
can turn this behavior off, and run as the "real" uid, on most modern
O/S'es by setting PFSYSEUID=OFF.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list