@Stefan:
hmmm... i think i've got the point. the one who try to write to the
restricted folder is svn, not tsvn, so it will be hard to implement this.
btw, it's not that hard to run windows explorer in elevated privileges. in
folder options, there is an option called "Launch folder windows in
separate process" that by default unchecked. by checking thus option, and
then run windows explorer shortcut as administrator and, voila... you get
an explorer with administrator privileges.
well, it just the foreground explorer that have elevated priviliges, not
the background. but, isn't it sufficient? since the one who run tsvn is
this folder explorer!?
On Jan 20, 2012 1:19 AM, "Stefan Küng" <tortoisesvn_at_gmail.com> wrote:
> On 19.01.2012 19:14, Gabri Nurtinaz Shally wrote:
> > @KLM
> > have you try to change SunATE permission, so anyone can gain access to
> > thus folder?
> >
> > or may be you could run windows explorer as an administrator, so
> > subsequent proses would run as administrator.
> >
> > @Stefan:
> > AFAIK, by default, child process will have same permission with its
> > parent. for example, when i want to run mulitple program as an
> > admimistrator, i usually open up a command prompt with run as
> > administrator context menu, than run other program from thus console.
> >
> > so imo, as long as tsvn gain administrator priviledges, all call to
> > underlying svn client, will have administrator priviledges too.
>
> Yes, child processes will have the same privileges as the parent process
> by default (that's changeable by the parent process).
> But you can't start an explorer instance with elevated privileges
> without some serious hacking. If you could, TSVN would automatically run
> with those elevated privileges as well.
> But what you can do: use an explorer replacement, start that with
> elevated privileges and then use TSVN from there.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
>
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2910015
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2910018
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-19 19:37:02 CET