Re: Error 668: System command cannot be executed
Posted in 1997
eran (eran@valor.com) wrote: :{ Hi all, :{ Please help. :{ env : informix 5.0.3 :{ sun solaris 2.4 :{ :{ I have a problem when I try to execute a stored procedure that have a :{ system call :{ e.g. :{ create procedure xxx() :{ system "echo ""abc"">/tmp/abc.log"; :{ end procedure :{ I receive the next error :{ 668: System command cannot be executed :{ 1: Not owner :{ What is the problem ... One of these: 1. You need to use /bin/echo instead of echo. (Meaning your path is incorrect) 2. You do not have write permission to the directory. (You can't create the file) 3. You don't have write permission on the file (Meaning it exists and isn't owned by you.) -- gburnore@databasix.com mailto:gburnore@DataBasix.com ---------------------------------------------------------------------- How you look depends on where you go. ---------------------------------------------------------------------- Gary L. Burnore | DataBasix | 150 Haight Street Suite 507 | (Blank) San Francisco, CA 94102 | http://www.DataBasix.com | ======================================================================