OnDemand User Group

Support Forums => Content Navigator => Topic started by: John.Kyle on September 24, 2020, 10:50:50 AM

Title: AFP2PDF Plus Permission errors
Post by: John.Kyle on September 24, 2020, 10:50:50 AM
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?
Title: Re: AFP2PDF Plus Permission errors
Post by: Justin Derrick on September 24, 2020, 11:43:36 AM
It's the umask setting on the server's userid where the transform is running.

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

-JD.
Title: Re: AFP2PDF Plus Permission errors
Post by: John.Kyle on September 25, 2020, 01:45:20 PM
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.

Title: Re: AFP2PDF Plus Permission errors
Post by: Justin Derrick on September 28, 2020, 09:57:35 AM
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.