× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi everyone,
I've an RPG progam that downloads stream files into the IFS from an external FTP server (calling a CL program), processes them, then should delete them.
Suppose the program runs under user profile 'USER1', the program creates stream files with 'USER1' as the owner and the following permissions:

DTAAUT(*RWX) and OBJAUT(*ALL) for *PUBLIC
DTAAUT(*RWX) and OBJAUT(*NONE) for 'USER1'
DTAAUT(*RWX) and OBJAUT(*NONE) for 'QPGMR'

The program is not able to delete the files downloaded (error '3401') unless it issues a CHGAUT on the file to revoke all permissions from 'USER1' or give it permissions to before trying to delete the file.

All dirs in the path where fles have permissions DTAAUT(*RWX) and OBJAUT(*ALL) for *PUBLIC

I've never been good with permissions, please help me figure out what's wrong...

Thank you,
Fabio.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.