Build workspace access denied?
we have a build farm, and have put all the build Engines in a separate project, open access, but with limited update permissions.
we created some build def templates in that project so anyone needing to run a build uses one as a source into their project and adds their workspace, and special settings.. and off it goes.
but.. we have a problem
I have a workspace, in my project, I want to run a build for one of the components.
my workspace is owned by me, but public access..
the build ENGINES are owned by a generic build user service account.
I am not a member of the build engine project, and my workspace is not scoped into the build engine project.
when I submit the build, the service account user gets access denied trying to load from my workspace.
if I change the owner to the service account, it works fine.
I don't see a permission on workspace read..see lots on write..
any pointers to places to read on how to resolve this?
Accepted answer
the error..
com.ibm.team.repository.common.PermissionDeniedException: Permission denied. Only the owner of the repository workspace 'SamD's workspace' can modify it.
this may be because of the snapshot
| update, it was the default 'Accept Changes from the stream'
I don't want the stream level changes, this is really a personal build.
(the setting was below the fold.. so I missed it)
One other answer
I believe your Build Service Account should (besides the build system license) be a member of the project area you have your repository workspace, in order to be able to access the SCM data. This is how I have it set up usually anyway.
Comments
showing 5 of 7
show 2 more comments