Consultor Eletrônico



Kbase P106211: Error 354 with errno 13 in file named lbiaixxxx when trying to do aimage new
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

SYMPTOM(s):

Error when trying to run aimage new

Script is being run as root

Aimage command is run after doing an SU as another user

Unable to open or create <filename>, error <number>. (354)

Unable to open or create lbiaixxxx, error 13 (354)

CAUSE:

Session is running as root and the temp files are trying to be written or read in the root directory.
Before running the aimage command the script changes the user by running SU <user>, who does not have permissions to write to the root directory.

FIX:

At the beginning of the script CD into a directory where the new user has permissions to write to.
Ex: CD /TMP