Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2001

    Post Unanswered: Stored procedure error: System command cannot be executed

    Dear all,

    I have written a stored procedure to write a file to a certain path using the "system" command, which operates in the solaris environment.

    I have confirmed that both the informix and my ID is able to write files directly into the path, i.e. by typing "echo 123 > file.txt", but when i
    execute the stored procedure in dbaccess, it returns an error
    "System command cannot be executed", "Not owner".

    Any solutions?


  2. #2
    Join Date
    Mar 2002
    please , show us your username in the passwd file
    and also ls -l output from directory and other files
    in the directory you are trying to write to

  3. #3
    Join Date
    Feb 2002
    Have you tried to blanket the permissions (777) in Unix ? Also, just try something simple like copying a file using absolute paths.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts