ACF2 ck_access permission error  Failed - User not authorized to access file  
search cancel

ACF2 ck_access permission error  Failed - User not authorized to access file  

book

Article ID: 244147

calendar_today

Updated On:

Products

ACF2

Issue/Introduction

ck_access      USER002  AAAAAAAA      139020          31   8      8      4                                                      
   05/05/22  22.125   11.36.59 SSHJOBX          D123     D123                                                                     
   Failed - User not authorized to access file                                                                                       
    Function: stat                 User Type: Local                                                                                  
    Requested Access: Search                                                                                                         
    Name flag:     Use CRED_name_flag to determine pathname                                                                          
    Pathname: /etc/ssh/sshrc                                                                                                         
    Filename: ssh                                                                                                                    
    File Permissions: Owner: rwx Group: r-x Other: ---                                                                               
    Owning UID:            0   Owning GID:           2                                                                               
    Volume  : VOLXXX  File Identifier:   E2E8E2F0F1F100220000000000F201BF                                                            
    File Audit Options:                                                                                                              
    User    : Read Failure  Write Failure  Exec/Search Failure                                                                       
    Auditor : Read None     Write None     Exec/Search None                                                                          
    Effective UID:       139020  Effective GID:           31                                                                         

 

 

 

Environment

Release : 16.0

Component : ACF2 for z/OS

Resolution

execute access to
Pathname: /etc/ssh/sshrc
The user is user022 who has UID(139020) and GID(31).
The file permissions are
owner: rwx group: r-x other: ---
this means that the owner has read write and execute/search access
the owner's group has read and execute/search access
all other users have no access at all.
The owner is UID(0) and the owner's group is GID(2)
To give all users execute or search access, the permissions for "others"
should be set to at least --x

this can be achieved using the chmod command 

for example
chmod -R o+x /etc/ssh/sshrc