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

    Permission denied" *MASTER RECORD*

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

    Description:
    What are the causes of the "Permission denied" message?

    Resolution:
    This message has to do with the file permissions and owner. For instance, the owner of this file is "aleph" and the owner has Read, Write, and Xecute permission:

    -rwxrwxr-x 1 aleph exlibris 3960 Jul 14 11:46 util_w_02_01

    The 2nd, 3rd, and 4th positions apply to the user who owns the file;
    the 5th, 6th, and 7th, other users in the file's group;
    the 8th, 9th, and 10th, to other users not in the file's group.

    If these permissions specify that the owner can perform the operation (Read, Write, or Xecute) being requested and the second/third group does not give permission for this operation to other users, then you will see the "Permission denied" error.

    The most common cause of this problem is that the user who is trying to perform the operation on the file is "aleph" while the owner of the file is "root". See for example, KB's 16384-14899, 16384-1105, and 16384-25633.

    Less common, is the case where the operation requires "root" and root is not the owner. (See KB 16384-30673.)

    Another less common cause can be where the owner is correct but the permissions for the owner do not permit the required operation. chmod can be used to correct this. See KB's 16384-25905 and 8192-2343.


    • Article last edited: 10/8/2013