CCService changes permissions on .svn\tmp\ directory.

15 views
Skip to first unread message

Ryan Andres

unread,
Apr 21, 2011, 7:09:27 PM4/21/11
to ccnet-user
When I checkout an svn repository using tortoisesvn, the owner for all
files and folders is my current user account.

Then I start the CCService. It builds my project for the first time
and something during the build changed all \.svn\tmp\ directory owners
to 'Administrators'. Now I am unable to to access any files inside the
tmp directory using the current user (or call tortoisesvn's update).

My service is using the same credentials as the user account I used
for tortoisesvn.


How do I ensure the ccservice uses a specific windows user for all
tasks/commands?

Ryan Andres

unread,
Apr 21, 2011, 8:20:34 PM4/21/11
to ccnet-user
Test 1) I opened a cmd. Then did 'runas' using my user account and
executed ccnet.exe instead of the service and it behaves like I want
it to, all my .svn files are owned by the current user.
Test 2) I opened cmd as administrator and executed ccnet.exe. Now some
of my .svn files are owned my Administrators!

This means even though my ccservice uses my user account credentials,
it still behaves as if it's using Administrators. Why is this?

Ryan Andres

unread,
Apr 21, 2011, 8:31:29 PM4/21/11
to ccnet-user
Fyi, I'm using a domain user (not in the Administrators group) for my
service.
Reply all
Reply to author
Forward
0 new messages