|
How about this:1. ensure that each user has a "home" directory (e.g. for user XYZ, it might be "/home/XYZ") specified in their user profile, e.g.:
CHGUSRPRF USRPRF(XYZ) HOMEDIR('/home/XYZ')2. when the administrator creates this home directory, ensure that user profile is the owner of that directory and has *R*W*X (all) authority to that directory, e.g.:
MKDIR DIR( '/home/XYZ') CHGOWN OBJ('/home/XYZ') NEWOWN(XYZ) CHGAUT OBJ('/home/xyz') USER(XYZ) DTAAUT(*RWX) OBJAUT(*ALL)3. now, all you have to do is to arrange for your program that creates the Excel spreadsheet as a stream file to put it in the "home" directory, to which the user has ALL authority. (If you follow the naming convention above, you can just concatenate "/home/" with the user profile name to get the name of the home directory.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.