Can you modify the permissions of files generated by the Connect-File rule?
Do we have an option to modify the permissions of the files which are generated by Connect File rule.? I have a requirement where from a file is being created in Pega from a report definition, and then this file is sent to a directory inside the pega server via connect-file method. Everything works fine from file creation and transfer. However when I navigate to the folder to open the file, it says that I dont have access. Since we are using Unix server, if I manually change the mod to 777 or something similar then I am able to open it. I need to go to the bash shell of the server admin (oracle this case) as a super user and change the permissions.
Is there any OOTB way by which I can set the permissions on the file as it is created and transferred?
***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
we need to have this since this file would be picked up by another application for further processing.
Any help would be appreciated
Thanks every one for their help especially Pradeep for the insight. The issue is addressed, as we wrote a cron job on the server to monitor the folder and update the permissions on all new files that are created there.
Keep up to date on this post and subscribe to comments
- Cannot generate XML file with Connect-File and XML Stream
- Can file names (in connect-file rules) be parameterized dynamically?
- Writing to next line after using Connect-File (operation: write from Map Structured rule) possible?
- Trying to write a file using Connect-file
- Connect-File putting unreadable special characters at the begining of the file