Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Errors installing SP; Permission denied; file owned by root

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    I am attempting to install hf_895 to aleph20. I'm getting the following errors:

    aleph20@cheetham(a20_1):...a20_1/tmp>source hf_895_script
    Backing up existing files ....
    cp: cannot create /exlibris/aleph/a20_1/aleph/exe/pc_cir_c0441.gnt.hf_895: Permission denied
    cp: cannot create /exlibris/aleph/a20_1/aleph/exe/pc_cir_pdq_loan.gnt.hf_895: Permission denied
    cp: cannot create /exlibris/aleph/a20_1/alephm/source/copy/C0441.hf_895: Permission denied
    cp: cannot create /exlibris/aleph/a20_1/alephm/source/copy/RECORD_LENGTH.hf_895:
    Permission denied
    Files backup complete.
    Copying new files ...
    tar: ./aleph/pc_exe/sp_exe/circ/bin/circ.exe: Cannot open: No such file or directory
    tar: ./alephm/source/pc_cir/pc_cir_c0441.cbl: Cannot open: Permission denied
    tar: ./alephm/source/pc_cir/pc_cir_pdq_loan.cbl: Cannot open: Permission denied
    tar: ./alephm/source/copy/C0441: Cannot open: File exists
    tar: ./alephm/source/copy/RECORD_LENGTH: Cannot open: File exists
    tar: Error exit delayed from previous errors
    touch: /exlibris/aleph/a20_1/aleph/pc_exe/sp_exe/circ/bin/circ.exe cannot create

    Resolution:
    The most likely cause of this problem is that the script is trying to perform this operation as "aleph" while the owner of the files it is trying to operate on is not "aleph".

    To check this, do:

    > cd $alephe_exe
    > ls -lrt pc_cir_c0441.gnt

    Do you see "aleph" as the owner -- or possibly "root"?

    If "root", in the Aleph Installation Kit documentation, pg. 11 states: "Steps that should be performed by the root or oracle user have a corresponding note. All other steps should be performed as the aleph user."

    You should change the owner of all the files in the /exlibris/aleph directory to "aleph". KB 30145 describes this change.

    KB 16384-32177 (which I just created) is a general discussion of the "Permission denied" message.


    • Article last edited: 10/8/2013