Fyi, I'm using a domain user (not in the Administrators group) for my service.
On Apr 21, 5:20 pm, Ryan Andres <[email protected]> wrote: > 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? > > On Apr 21, 4:09 pm, Ryan Andres <[email protected]> wrote: > > > > > > > > > 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?
