Hello Bruce C
Yes sure. This would be another solution.
I prefered the solution in TortoiseSvn. But if my "change request" fails I 
will do it that way. It's definitely possible.
Thank you


Bruce C schrieb am Donnerstag, 7. Januar 2021 um 21:56:53 UTC+1:

> If there is a really strong need to have a single checkout for multiple 
> users (which seems a little unusual), another option is simply to grant 
> additional permissions, to the checkout, for the second user. Presumably 
> the second user could then use TortoiseSVN as normal, as they'd have the 
> necessary file permissions. From a Command Prompt (potentially elevated), 
> this can be achieved with the cacls 
> <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cacls>
>  
> command. Something like the following:
>   cacls checkout_root_folder /t /e /g SecondUserName:f
>
> *N.B. I'm not at a Windows PC right now to confirm the syntax or test it, 
> so please satisfy yourself of the correctness before running it.*
>
> Hope this helps.
> On Thursday, 7 January 2021 at 18:27:30 UTC Stefan wrote:
>
>> I'm sorry, but while your patch looks good, I won't apply it for several 
>> reasons:
>>
>>    - starting an elevated process from the shell can be abused
>>    - you've marked commands that you think require elevated right, but 
>>    most dialogs can start other dialogs which then might require those 
>>    privileges as well. So we would have to basically start all processes 
>>    elevated
>>    - a working copy is always per user. If you're logged in as another 
>>    user, create your own working copy. That's the only way you won't get 
>> into 
>>    any troubles. Your 'solution' is not the right way to do this. Think 
>> about 
>>    it: you run an update which creates new files. Those files then have the 
>>    rights of the current user (with higher privileges), not the one who 
>>    creeated that working copy. So after that, the original user will require 
>>    elevated privileges as well.
>>    - the real solution is to create separate working copies for each user
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" 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/tortoisesvn/9a17de85-7843-44c7-b0f0-1a7975543107n%40googlegroups.com.

Reply via email to