Hi, I'm a forum newbie here so any help with this would be very much appreciated and apologies if I've posted in the wrong place.
We have a user profile on our iSeries (V5R3) XX_PGMR and recently we needed to add ssh encryption keys to access an external unix server via SFTP. As QPGMR already had a set of keys that were different and not wanting to change them as other jobs on the system would likely be affected by this, we created a folder on the IFS called XX_PGMR under the /home directory and placed the necessary keys within this folder.
Suddenly, any job using CPYFRMIMPF under profile XX_PGMR fell over with a CPF2817: Copy command ended because of error. The job log showed File system error occurred. Error number 3025. We only found out the keys (or IFS folder we created) had caused the problem by sheer chance and once we renamed the IFS folder so that it no longer matched the user profile everything worked correctly again.
Is anybody able to identify why this may have occurred please? The IFS folder XX_PGMR had *PUBLIC *RWX authority so there should have been no authority issues but everyone is a little befuddled as to why just adding a folder that matches the user profile name to the IFS and adding (technically text files) encrypted ssh keys to the folder would prevent the user profile from being able to access the IFS using a CPYFRMIMPF command.
Thanks for your help.
We have a user profile on our iSeries (V5R3) XX_PGMR and recently we needed to add ssh encryption keys to access an external unix server via SFTP. As QPGMR already had a set of keys that were different and not wanting to change them as other jobs on the system would likely be affected by this, we created a folder on the IFS called XX_PGMR under the /home directory and placed the necessary keys within this folder.
Suddenly, any job using CPYFRMIMPF under profile XX_PGMR fell over with a CPF2817: Copy command ended because of error. The job log showed File system error occurred. Error number 3025. We only found out the keys (or IFS folder we created) had caused the problem by sheer chance and once we renamed the IFS folder so that it no longer matched the user profile everything worked correctly again.
Is anybody able to identify why this may have occurred please? The IFS folder XX_PGMR had *PUBLIC *RWX authority so there should have been no authority issues but everyone is a little befuddled as to why just adding a folder that matches the user profile name to the IFS and adding (technically text files) encrypted ssh keys to the folder would prevent the user profile from being able to access the IFS using a CPYFRMIMPF command.
Thanks for your help.
Comment