ovimport creates temporary directory in routines directory when importing routines from tmp directory

Bug #383367 reported by Jon Tai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenVista/GT.M Integration
Fix Released
Medium
Unassigned

Bug Description

Steps to reproduce:

ovinstanceadd importtest
echo TEST > /opt/openvista/importtest/tmp/TEST.m
ovimport -r /opt/openvista/importtest/tmp importtest
ls -al /opt/openvista/importtest/routines

Expected output:
drwxrws--- 3 root openvista 4096 Jun 3 14:24 .
drwxr-s--- 9 root openvista 4096 Jun 3 14:23 ..
-rw-rw---- 1 jon openvista 5 Jun 3 14:24 TEST.m

Actual output:
drwxrws--- 3 root openvista 4096 Jun 3 14:24 .
drwxr-s--- 9 root openvista 4096 Jun 3 14:23 ..
drwxrwS--- 2 jon openvista 4096 Jun 3 14:24 .ovimport.HODzR13492
-rw-rw---- 1 jon openvista 5 Jun 3 14:24 TEST.m

Notice the extra temproary directory. Because of the permissions on this directory, it interferes with other processes such as ovbackup and ovrestore. ovimport shouldn't create it in the first place.

Jon Tai (jontai)
Changed in openvista-gtm-integration:
status: Confirmed → Fix Committed
Jon Tai (jontai)
Changed in openvista-gtm-integration:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.