|
this may help
https://www.ibm.com/support/pages/integrated-file-system-authority-considerations
<
https://www.ibm.com/support/pages/integrated-file-system-authority-considerations
Adopted authority is not supported by the Root ('/'), QOpenSys, and
user-defined file systems.
Bryan
On May 8, 2024, at 4:41 AM, datil400 <datil400@xxxxxxxxx> wrote:objets
Hello guys,
I am trying to simulate in my ERP the adopted authority to treat IFS
in transparent way. I don´t want users have access to certain IFSit
directories and files outside the application program.
I know that the adopted authority does not work in the IFS, but I think
can be simulated. I am using qsysetegid(), gsysetgid() and qsysetregid()to
change the job primary group.directory
In addition, all IFS objects have the primary group (PGP) set with the
application's owner group (i.e. the group set with the qsysetegid API).
*PUBLIC authorization is *EXCLUDE.
I have done some tests and it seems to work fine, but I have encountered
some problems with some CL and Qshell/PASE commands. For example, EDTF or
DSPF don´t work, they need at least *X authorization on the whole
path.related questions.
On the other hand, the SFTP command does not work either due to an
authorization issue on the key files (for example).
Am I trying to do something impossible?
Is there any documentation on that subject?
Are the exceptions documented?
Any suggestions?
Best regards
Javier Mora
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
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.