AFP2PDF Plus Permission errors

Previous topic - Next topic

John.Kyle

Hi All,

I have recently installed AFP2PDF Plus on my ICN server on Red Hat Linux. When I try to retrieve an AFP document from ICN, I get an error in my arswww.trace file: "The server failed while attempting to convert data". I found out that this error is related to permissions of the temporary file that gets created in the odwek temp directory. The file that is written out to this directory is rw....... From my discovery it needs to be rw.r..r.. I am unable to find any settings related to the creation of this temporary file.

Has anyone experienced this issue in the past?

Justin Derrick

It's the umask setting on the server's userid where the transform is running.

https://en.wikipedia.org/wiki/Umask

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

John.Kyle

Hi Justin,

Thanks for the information. I am still facing the same issue. Here is what I attempted:
1) ran the command: umask a+r temp
"temp" being the ODWEK temporary directory that is listed in ICN. This command was run as the user ID who owns that directory.
2) when attempting to retrieve the file from ICN it is posted to the temp directory as rw only for the above user ID.
To further complicate things, if that same user runs a touch command in that directory, the permission on the touched file are rw.r..r.. Which leads me to think that ICN/ODWEK/WebSphere is overriding these permission settings somehow when posting these temporary files.


Justin Derrick

Yeah, this is the tricky thing.  Umask settings are 'inherited' from the environment - you'll want to work with your UNIX system administrators to have the umask set in a configuration file, so that it's set early enough to be in effect when websphere/ICN starts.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR