I am using a shell script to encrypt a .csv file using pgp encryption and calling the script in Execute Command activity stage.
I am just using this command in my script:
Code: Select all
gpg -e -r "$KeyName" $SRCDIR/$FNAME
Error is:
Code: Select all
gpg: WARNING: unsafe ownership on configuration file `/opt/IBM/dev/IIS/common/home/dsadm/.gnupg/gpg.conf'
gpg: can't access `/opt/IBM/dev/IIS/common/home/dsadm/.gnupg/trustdb.gpg': Permission denied
gpg: Fatal: can't init trustdb: Trust DB error