|
Auditing on an IFS directory requires a number of steps: Create the QAUDJRN journal. It's suggested you allow the system to manage your journals, and be VERY careful with the QAUDENDACN system value. Setting this incorrectly can cause the system to power itself down if an error occurs during journaling. Next, set up the appropriate auditing in the QAUDLVL system value. Finally, enable QAUDLVL by setting *AUDLVL in the QAUDCTL system value. Now, this starts auditing on ALL objects. Supposedly you could change that to a specific object by using CHGAUD on the object and then setting AUDCTL to *OBJAUD, but I was unable to get that to work, probably because my authorization was failing at a higher level in the directory tree. As to the actual problem, it turns that in order to use the Apache Commons file upload package you need to authorize access to user profile QEJBSVR. I don't know if there's a way to specify a different user profile on the upload request, but granting specific privileges to QEJBSVR worked for this particular case. Joe
From: Joe Pluta I'm having some trouble using the Apache upload classes. I'm getting a Permission denied on the target directory, but I'm not quite sure what user profile I need to allow access. I'm guessing QEJBSVR, but I wanted to try the nifty object auditing capabilities of the operating system. I'm on a V5R2 box, and I do CHGAUD to the folder. Then I go to display the audit entries using DSPAUDJRNE and I get an exception telling me that QAUDJRN is not found.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.