Error when trying to execute the child script with "nohup"

Sorayuth.Kamthawee at Sorayuth.Kamthawee at
Thu Sep 12 04:43:34 EDT 2002


Please help me find the solutions, I have wrote the script (called PARENT)
that have to call other script (called CHILD) using "nohup" and out the
child script to background job as following:

-------------------- Begin of PARENT script -----------------------
nohup ./ &
-------------------- End of PARENT script -------------------------

-------------------- Begin of CHILD script ------------------------

The error message will shown as, "nohup: cannot open/create nohup.out". But
this won't error if we run under the root account (like sudo -u root

Hope someone ever found the problem like this.

Thanks all,


More information about the sudo-users mailing list