jjethwa / rundeck

GNU General Public License v3.0
123 stars 137 forks source link

Permission attached host directory #152

Open kk2526 opened 5 years ago

kk2526 commented 5 years ago

Hi,

I am able to run rundeck having separate database and with attached volume using one of the host directory. -v /some/direc:/etc/rundeck

But the permission now setup to the directory and all the files inside are of the rundeck user which is running the application. So how can I edit those files like 'realm.properties' assuming I dont have root access.

Thanks,

jjethwa commented 5 years ago

Hi @kk2526 Usually you prepare those files ahead of time, but you can always modify them by docker exec'ing into your running container if you don't have permission on the host. You'll have to run apt-get update and install vi or your favourite editor as well. Hope that helps :smile: