Hello

I face the following issue using gocd, with my gocd agent:

My app is containerized [docker] and needs to log via bind mount. The app 
cannot log in the sandbox, as it does not have permissions to the log 
directory.

I would like the app to be copied out from the sandbox, into 
/home/ubuntu/app , where it would have permissions to write to it's log 
directory.

Nothing has worked out so far, including trying to force permissions to 777 
to the directory, and I always get the following error message:

cp: failed to access '/home/ubuntu/app': Permission denied
deployment/dev/deploy.sh: line 2: cd: /home/ubuntu/app: Permission denied

Deploy script:
cp -r app/. /home/ubuntu/app
cd /home/ubuntu/app
make start

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/22e902ae-88b1-4117-9cc4-df861c4f68c9n%40googlegroups.com.

Reply via email to