setgid failed : Not owner

From: sarab (sarabjeetd_at_hotmail.com)
Date: 05/28/04

  • Next message: RJH: "Flash 6 crashes Mozilla"
    Date: Fri, 28 May 2004 20:15:38 GMT
    
    

    Hi ,
        i have a app which runs as root. It forks and exec another app which
    must run as oracle user and dba as group.

    When i call setgid(dba_gid) before exec , it fails with error : Now Owner.

    How can i fix this problem?.

    The OS is HPUX 11.11

    regards
    -sarab


  • Next message: RJH: "Flash 6 crashes Mozilla"

    Relevant Pages

    • Re: setgid failed : Not owner
      ... | i have a app which runs as root. ... |must run as oracle user and dba as group. ... |When i call setgidbefore exec, it fails with error: ...
      (comp.sys.hp.hpux)
    • Re: exec php
      ... I know when I ran exec without the paths right, ... didn't get any server errors either, and I had the same kind of issue ... if I have a simple C# app that only have an Hello World, ... Visa citerad text - ...
      (comp.lang.php)
    • Re: exec php
      ... I know when I ran exec without the paths right, ... didn't get any server errors either, and I had the same kind of issue ... if I have a simple C# app that only have an Hello World, ... Visa citerad text - ...
      (comp.lang.php)
    • Re: Autoupdate of file being currently executed
      ... mean, app replaces itself via exec into update, and then backwards - ... doesn't use standard output, but log file), it quits in console. ... For what you want to do, forking is unnecessary, and exec() is sufficient. ... Since it was the process group leader/session leader, when it exits the process/session is no longer valid, and will no longer receive console signals. ...
      (comp.os.linux.misc)
    • Re: Autoupdate of file being currently executed
      ... But there is another problem - when app switches to update (which ... doesn't use standard output, but log file), it quits in console. ... For what you want to do, forking is unnecessary, and exec() is ...
      (comp.os.linux.misc)