Find the answer to your Linux question:
Results 1 to 2 of 2
I keep getting a cron error stating: error: error setting owner of /usr/local/oracle/Transcription/log/processor.log: Operation not permitted. I put the command in my /etc/crontab file as such: 30 4 * * ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    1

    Cron error


    I keep getting a cron error stating:


    error: error setting owner of /usr/local/oracle/Transcription/log/processor.log: Operation not permitted.


    I put the command in my /etc/crontab file as such:

    30 4 * * * * easyprod /home/easyprod/EdiXProcessor >> /usr/local/oracle/log/processor.log 2>&1


    The user, easyprod, owns the command, EdiXProcessor and the log file, processor.log

    Does anyone know why this occurs?

    TIA
    Mike

  2. #2
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    341
    Because the user may own the file but not the folder /usr/. You may have to set the cronjob up in a root crontab if this doesn't cause any security issues.
    Pete

Posting Permissions

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