|
For renaming we decided the API "Qp0lRenameKeep". But this API (as well as other rename procedures) does not support "adopted authority". Therefore only the file owner can rename the file.
Anyone with appropriate authority can rename the file -- it doesn't have to be the file's owner. Nothing in the IFS supports adopted authority, so if you really need to adopt, you'll have to use a profile swapping technique.
Is there a work arround or any other suggestion to solve this problem. Many thanks in advance.
In my opinion, the best solution is to set the directory up so that the user who needs to execute the API has appropriate authority to do so. If that's absolutely not an option, then swap to the new profile, make the change, and swap back. (You can use adopted authority to provide access to the profile handles)
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.