in reply to Re: Script works when run with sudo, but not when run directly as root...?
in thread Script works when run with sudo, but not when run directly as root...?

Correct. I don't get any other error messages.
  • Comment on Re^2: Script works when run with sudo, but not when run directly as root...?

Replies are listed 'Best First'.
Re^3: Script works when run with sudo, but not when run directly as root...?
by LanX (Saint) on May 07, 2014 at 19:07 UTC
    My thought:

    Check the environment variables of your account and of root created by the login shell.

    Cheers Rolf

    ( addicted to the Perl Programming Language)