I am running a script (capistrano if that matters) that connects via ssh to another server, does some file transfers then tries to set permissions with chmod. it works fine for me since I was the only one working on them and I was the owner. I need to be able to do this now with 2 users, but we get operation not permitted when the other user tries to run it.
I am sure this is a simple solution, but I don't know how to fix it. I tried setting the group to admin (since we are both in the admin group), but that didn't work.
let me know if I am leaving anything out.