FTP_PUT Uprocs write permissions for the group are lost since 6.10.101
search cancel

FTP_PUT Uprocs write permissions for the group are lost since 6.10.101

book

Article ID: 263535

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

We have upgraded DUAS from V6.10.91 to V6.10.101.

But since then, it looks like our FTP_PUT file permissions are modified, and now the umask of the user is not respected and the target file gets permissions 644 instead of the expected 664 ( group write permissions are lost).

See an example comparing the same FTP_PUT Uproc

[root@server target]# ll
total 8
-rw-r--r-- 1 univa univa 26 Nov 28 01:16 afr101.txt
-rw-rw-r-- 1 univa univa 26 Nov 28 01:18 afr91.txt

Uproc content:

   | ftp_put          : (
                            partner         : server.domain.com
                            logon           : univa
                            password        : ******
                            origin_pathname : /tmp
                            origin_filename : afr.txt
                            target_pathname : /tmp/target
                            target_filename : afr91.txt
                            mode            : ASCII
                            action          : REPLACE

 

Environment

Release : 6.10.101 and superior

Component: Dollar Universe

Functional Area: FTP Uprocs

Cause

Defect introduced on 6.10.101 while upgrading libcurl as there had been changes to the option CURLOPT_NEW_FILE_PERMS since curl v7.56.1 where the way the input is verified had changed. 

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Application Server (Node)
Dollar Universe 6.10.111 - Planned to be released in June 2023
Dollar Universe 7.0.21 - Planned to be released end of September 2023