I am currently installing Bahmni on our production environment. I have created a new user and added it to the wheel group and also to the sudoers file. However when I tried to import the setup file using Curl I keep getting the
Permission Denied error as shown below.
$ sudo curl -L https://tinyurl.com/yyoj98df >> /etc/bahmni-installer/setup.yml -bash: /etc/bahmni-installer/setup.yml: Permission denied
I installed the Bahmni Installer from the same user account without any issues
$ sudo yum install https://dl.bintray.com/bahmni/rpm/rpms/bahmni-installer-0.92-142.noarch.rpm Loaded plugins: fastestmirror bahmni-installer-0.92-142.noarch.rpm
What could be causing this, I don’t wan to run into the same problem once I fire the installer. The reason I created a separate user is because our security policy prohibits the execution and installation of any application with root user.