Author Topic: AFP2PDF Plus Permission errors  (Read 2026 times)

John.Kyle

  • Newbie
  • *
  • Posts: 4
    • View Profile
AFP2PDF Plus Permission errors
« 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?

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: AFP2PDF Plus Permission errors
« Reply #1 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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

John.Kyle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: AFP2PDF Plus Permission errors
« Reply #2 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.


Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: AFP2PDF Plus Permission errors
« Reply #3 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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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