scripting & system call in output processing

scooter6 at gmail.com scooter6 at gmail.com
Tue Nov 2 09:05:24 PDT 2010


I have written some output processing that creates an export file - at the
end, I close the file and email it, passing parameters to an email script.

Basically, at end I do @done - close file - then   system
"/appl/fpmerge/email_script.sh" < fc     (where fc is the file that was
created)

If I am logged in as root, this runs flawlessly.  However, after putting it
on a menu, other users run this and it doesn't email the file??

Does the email_script.sh need to have certain permissions in order for this
to work?  Currently, it's chmod 777 owned by filepro and in the 'group'
group

What do I need to change to get others to be able to run this without being
root?


Thanks

Scott
PDM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20101102/55b4f59d/attachment.html 


More information about the Filepro-list mailing list