List Info

Thread: Issue with .smartsvn files and _lock_ file




Issue with .smartsvn files and _lock_ file
user name
2006-08-17 17:40:02
Hi Jonathan,

This is really strange. Unfortunately I do not know exactly
how the VM 
determines "user.home". This information is not
(easy) to find ... It 
would be interesting to compare a set-log of a correct start
to an 
incorrect one.

 > Could one of our JVM's possibly be customized and we
don't know it?
 > Can we force smart svn to look at a certain JVM with a
setting in the
 > smartsvn.cfg file?

You can try to set JRE home in bin/smartsvn.cfg. Please
rename the 
bundled jre/ temporarily to jre~/ before. log4j log shows
path and 
version of the actually used JRE.

--
Best regards,
Marc Strapetz
_____________
syntevo.com

fs5015 schrieb:
> 
> 
> Marc,
> 
> I tried what you said below. It is very interesting. I
ran a 'set'
> right before running the command to start smartsvn.exe.
In the
> parameters displayed, the USERPROFILE is pointing to me
(doc and
> settings/my name), but strangely (and consistently
now), it starts up
> using the profile of our companyDefaultUser profile. In
log4j (under
> companydefaultuser because that is where it is being
started),
> user.home is set to doc and
settings/companyDefaultUser.
> 
> Could you tell anything from our log files?
> 
> Could one of our JVM's possibly be customized and we
don't know it?
> Can we force smart svn to look at a certain JVM with a
setting in the
> smartsvn.cfg file?
> 
> This is one of those things where we have the
workaround, but it's
> driving me crazy trying to figure out why it points to
a different user!
> 
> Thanks Marc,
> Jonathan
> 
> --- In smartsvn@yahoogroups.com
<mailto:smartsvn%40yahoogroups.com>, 
> Marc Strapetz <marc.strapetz...> wrote:
>  >
>  > Hi Jonathan,
>  >
>  > Could it be some kind of networking problem? Are
you using
>  > domains/special storage locations for your
profiles, etc.?
>  >
>  > > What sets the user.home variable? (Sorry for
my lack of Java
>  >
>  > It's the Java VM itself, which converts native
properties to the
> default
>  > Java system properties. It might be interesting
to start SmartSVN
>  > through a custom batch file which outputs all
Windows environment
>  > variables (using "set") to a file
before starting smartsvn.exe.
>  >
>  > --
>  > Best regards,
>  > Marc Strapetz
>  > _____________
>  > www.syntevo.com
>  >
>  > fs5015 schrieb:
>  > >
>  > >
>  > > Hi Marc,
>  > >
>  > > We are still trying to figure this out. We
tried setting the
>  > > Dsmartsvn.home and it worked though, so we
are good if we all do that
>  > > manually.
>  > >
>  > > But, we are just curious why it points to
our other user on our system
>  > > sometimes and not others. I looked at my
CompanyDefaultUser on my
>  > > system and the log4j file for that user had
4 entries in there where
>  > > it started up on different occasions as that
user.home. It was all
>  > > with different versions of SmartSVN. One
when I had 2.01 installed.
>  > > Two with 2.02 and one with 2.04. The
user.name is my name (not the
>  > > companydefaultuser) on all of the entries.
>  > >
>  > > What sets the user.home variable? (Sorry for
my lack of Java
>  > > knowledge.) I have 5 java runtime diretories
on my pc under program
>  > > files/java. It always uses j2re1.4.2_06. I
have up to jre1.5.0._06.
>  > > My colleague I was discussion below doesn't
have any. She uses the
>  > > jre you provide (that gets put in the
smartsvn/jre directory).
>  > >
>  > > We are just kind of at a loss. Seems
strange.
>  > >
>  > > Thanks Marc,
>  > > Jonathan
>  > >
>  > > --- In smartsvn@yahoogroups.com
<mailto:smartsvn%40yahoogroups.com> 
> <mailto:smartsvn%40yahoogroups.com>,
>  > > Marc Strapetz <marc.strapetz>
wrote:
>  > > >
>  > > > Hi Jonathan,
>  > > >
>  > > > SmartSVN simply uses Java System
Property "user.home", which
> should be
>  > > > correctly initialized with the value of
"%USERPROFILE%". The
> initial
>  > > log
>  > > > statements after starting SmartSVN show
the property value. If it
>  > > > actually points to the wrong directory,
this might be a JRE bug
>  > > > (although a quick google did not bring
any results here).
> Anyway, using
>  > > > a more recent JRE would be an option.
>  > > >
>  > > > Another option is to explicitly set
>  > > >
>  > > >
vmoption=-Dsmartsvn.home=c:\path\to\your\profile
>  > > >
>  > > > in bin/smartsvn.cfg.
>  > > >
>  > > > --
>  > > > Best regards,
>  > > > Marc Strapetz
>  > > > _____________
>  > > > SyntEvo GmbH
>  > > > Schillerallee 2
>  > > > 83457 Bayerisch Gmain
>  > > > Germany
>  > > > www.syntevo.com
>  > > >
>  > > > fs5015 schrieb:
>  > > > >
>  > > > >
>  > > > > Hi guys,
>  > > > >
>  > > > > We are having some strange things
go on when using SmartSVN.
> SmartSVN
>  > > > > is creating its .smartsvn
directory and files under a
> 'default' user
>  > > > > on our systems and it uses those
.smartsvn files rather than
> the ones
>  > > > > under our user profile sometimes.
I'll try to explain and
> hopefully
>  > > > > something will come out of it.
>  > > > >
>  > > > > This is on Win2000, SP4.
>  > > > >
>  > > > > Our company creates a user on
every system named
> 'CompanyDefaultUser'.
>  > > > > 'CompanyDefaultUser' is a hidden
profile with read/write
> privileges
>  > > > > to the account only available to
someone with 'admin'
> privileges. We
>  > > > > each have our own profile on a
machine, say 'UserA'. We
> always log on
>  > > > > and use SmartSVN as our user
profile (i.e. UserA).
>  > > > >
>  > > > > For some reason, SmartSVN
'sometimes' wants to write its log
> file and
>  > > > > use the .xml files under the
CompanyDefaultUser/.smartsvn
> directory.
>  > > > > When we do a %USERPROFILE% to see
what the profile is set at,
> it is
>  > > > > always set properly (in our
example, C:\Documents and
> Settings\UserA).
>  > > > >
>  > > > > Most of us used to stay logged on
with 'admin' privileges all
> of the
>  > > > > time, so it was never an issue,
but now we are not supposed
> to, so
>  > > > > SmartSVN will just refuse to
start. Our theory is because it is
>  > > > > trying to write its logfile to
c:\Documents and
>  > > > > Settings\CompanyDefaultUser and
can't because that user
> doesn't have
>  > > > > write privileges to everyone.
>  > > > >
>  > > > > We are at a loss of how to fix
this. We tried to set the
>  > > > > DSmartsvn.applock=false so it
wouldn't try to write the lock
> file, but
>  > > > > that doesn't help because it is
still trying to write the log
> file.
>  > > > >
>  > > > > In our research, we found the
registry key:
>  > > > > My
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>  > > > > NT\CurrentVersion\ProfileList
>  > > > >
>  > > > > It has a key
'DefaultUserProfile' which is set to
> CompanyDefaultUser.
>  > > > >
>  > > > > Is SmartSVN using this 'key'
somewhere? I'm guessing most
> folks run
>  > > > > with admin privileges or their
default user is the user they
> log on
>  > > > > with so this problem hasn't been
prevelant, but for us, it
> may render
>  > > > > SmartSVN unusable.
>  > > > >
>  > > > > We have tried multiple scenarios
of installing and
> deinstalling as
>  > > > > UserA (with admin privileges and
without). We've tried to
> think up
>  > > > > every possible combination that
could be causing this. We
> can't find
>  > > > > any settings in the XML or .cfg
file that we thought would be
> causing
>  > > > > this issue.
>  > > > >
>  > > > > Do you have any suggestions? If
there is something we can
> send you,
>  > > > > we'd be glad to.
>  > > > >
>  > > > > My colleague is running the
Foundation version. I am running
> the pro
>  > > > > version.
>  > > > >
>  > > > > Thanks!
>  > > > > Jonathan
>  > > > >
>  > > > >
>  > > >
>  > >
>  > >
>  >
> 
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups
.yahoo.com/group/smartsvn/

<*> To unsubscribe from this group, send an email to:
    smartsvn-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



Issue with .smartsvn files and _lock_ file
user name
2006-08-20 08:52:23
Hi,

I get the same problem not just with SmartSVN/CVS but also
with IntelliJ 
IDEA, it happens after installing the latest update to the
McAfee AV. 
Logging out and back in sorts the problem and sometimes it
seems to sort 
itself out. HOMEPATH and USERPROFILE are correct but running
a java 
program to output 'user.home' returns 'C:\Documents and
Settings\Default 
User' this would suggest Marc is correct in that it's a
JVM problem.

regards,
Rod

Marc Strapetz wrote:
> Hi Jonathan,
> 
> This is really strange. Unfortunately I do not know
exactly how the VM 
> determines "user.home". This information is
not (easy) to find ... It 
> would be interesting to compare a set-log of a correct
start to an 
> incorrect one.
> 
>  > Could one of our JVM's possibly be customized
and we don't know it?
>  > Can we force smart svn to look at a certain JVM
with a setting in the
>  > smartsvn.cfg file?
> 
> You can try to set JRE home in bin/smartsvn.cfg. Please
rename the 
> bundled jre/ temporarily to jre~/ before. log4j log
shows path and 
> version of the actually used JRE.
> 
> --
> Best regards,
> Marc Strapetz
> _____________
> syntevo.com
> 
> fs5015 schrieb:
>>
>> Marc,
>>
>> I tried what you said below. It is very
interesting. I ran a 'set'
>> right before running the command to start
smartsvn.exe. In the
>> parameters displayed, the USERPROFILE is pointing
to me (doc and
>> settings/my name), but strangely (and consistently
now), it starts up
>> using the profile of our companyDefaultUser
profile. In log4j (under
>> companydefaultuser because that is where it is
being started),
>> user.home is set to doc and
settings/companyDefaultUser.
>>
>> Could you tell anything from our log files?
>>
>> Could one of our JVM's possibly be customized and
we don't know it?
>> Can we force smart svn to look at a certain JVM
with a setting in the
>> smartsvn.cfg file?
>>
>> This is one of those things where we have the
workaround, but it's
>> driving me crazy trying to figure out why it points
to a different user!
>>
>> Thanks Marc,
>> Jonathan
>>
>> --- In smartsvn@yahoogroups.com
<mailto:smartsvn%40yahoogroups.com>, 
>> Marc Strapetz <marc.strapetz...>
wrote:
>>  >
>>  > Hi Jonathan,
>>  >
>>  > Could it be some kind of networking problem?
Are you using
>>  > domains/special storage locations for your
profiles, etc.?
>>  >
>>  > > What sets the user.home variable? (Sorry
for my lack of Java
>>  >
>>  > It's the Java VM itself, which converts
native properties to the
>> default
>>  > Java system properties. It might be
interesting to start SmartSVN
>>  > through a custom batch file which outputs all
Windows environment
>>  > variables (using "set") to a file
before starting smartsvn.exe.
>>  >
>>  > --
>>  > Best regards,
>>  > Marc Strapetz
>>  > _____________
>>  > www.syntevo.com
>>  >
>>  > fs5015 schrieb:
>>  > >
>>  > >
>>  > > Hi Marc,
>>  > >
>>  > > We are still trying to figure this out.
We tried setting the
>>  > > Dsmartsvn.home and it worked though, so
we are good if we all do that
>>  > > manually.
>>  > >
>>  > > But, we are just curious why it points
to our other user on our system
>>  > > sometimes and not others. I looked at my
CompanyDefaultUser on my
>>  > > system and the log4j file for that user
had 4 entries in there where
>>  > > it started up on different occasions as
that user.home. It was all
>>  > > with different versions of SmartSVN. One
when I had 2.01 installed.
>>  > > Two with 2.02 and one with 2.04. The
user.name is my name (not the
>>  > > companydefaultuser) on all of the
entries.
>>  > >
>>  > > What sets the user.home variable? (Sorry
for my lack of Java
>>  > > knowledge.) I have 5 java runtime
diretories on my pc under program
>>  > > files/java. It always uses j2re1.4.2_06.
I have up to jre1.5.0._06.
>>  > > My colleague I was discussion below
doesn't have any. She uses the
>>  > > jre you provide (that gets put in the
smartsvn/jre directory).
>>  > >
>>  > > We are just kind of at a loss. Seems
strange.
>>  > >
>>  > > Thanks Marc,
>>  > > Jonathan
>>  > >
>>  > > --- In smartsvn@yahoogroups.com
<mailto:smartsvn%40yahoogroups.com> 
>> <mailto:smartsvn%40yahoogroups.com>,
>>  > > Marc Strapetz <marc.strapetz>
wrote:
>>  > > >
>>  > > > Hi Jonathan,
>>  > > >
>>  > > > SmartSVN simply uses Java System
Property "user.home", which
>> should be
>>  > > > correctly initialized with the
value of "%USERPROFILE%". The
>> initial
>>  > > log
>>  > > > statements after starting SmartSVN
show the property value. If it
>>  > > > actually points to the wrong
directory, this might be a JRE bug
>>  > > > (although a quick google did not
bring any results here).
>> Anyway, using
>>  > > > a more recent JRE would be an
option.
>>  > > >
>>  > > > Another option is to explicitly set
>>  > > >
>>  > > >
vmoption=-Dsmartsvn.home=c:\path\to\your\profile
>>  > > >
>>  > > > in bin/smartsvn.cfg.
>>  > > >
>>  > > > --
>>  > > > Best regards,
>>  > > > Marc Strapetz
>>  > > > _____________
>>  > > > SyntEvo GmbH
>>  > > > Schillerallee 2
>>  > > > 83457 Bayerisch Gmain
>>  > > > Germany
>>  > > > www.syntevo.com
>>  > > >
>>  > > > fs5015 schrieb:
>>  > > > >
>>  > > > >
>>  > > > > Hi guys,
>>  > > > >
>>  > > > > We are having some strange
things go on when using SmartSVN.
>> SmartSVN
>>  > > > > is creating its .smartsvn
directory and files under a
>> 'default' user
>>  > > > > on our systems and it uses
those .smartsvn files rather than
>> the ones
>>  > > > > under our user profile
sometimes. I'll try to explain and
>> hopefully
>>  > > > > something will come out of it.
>>  > > > >
>>  > > > > This is on Win2000, SP4.
>>  > > > >
>>  > > > > Our company creates a user on
every system named
>> 'CompanyDefaultUser'.
>>  > > > > 'CompanyDefaultUser' is a
hidden profile with read/write
>> privileges
>>  > > > > to the account only available
to someone with 'admin'
>> privileges. We
>>  > > > > each have our own profile on a
machine, say 'UserA'. We
>> always log on
>>  > > > > and use SmartSVN as our user
profile (i.e. UserA).
>>  > > > >
>>  > > > > For some reason, SmartSVN
'sometimes' wants to write its log
>> file and
>>  > > > > use the .xml files under the
CompanyDefaultUser/.smartsvn
>> directory.
>>  > > > > When we do a %USERPROFILE% to
see what the profile is set at,
>> it is
>>  > > > > always set properly (in our
example, C:\Documents and
>> Settings\UserA).
>>  > > > >
>>  > > > > Most of us used to stay logged
on with 'admin' privileges all
>> of the
>>  > > > > time, so it was never an
issue, but now we are not supposed
>> to, so
>>  > > > > SmartSVN will just refuse to
start. Our theory is because it is
>>  > > > > trying to write its logfile to
c:\Documents and
>>  > > > > Settings\CompanyDefaultUser
and can't because that user
>> doesn't have
>>  > > > > write privileges to everyone.
>>  > > > >
>>  > > > > We are at a loss of how to fix
this. We tried to set the
>>  > > > > DSmartsvn.applock=false so it
wouldn't try to write the lock
>> file, but
>>  > > > > that doesn't help because it
is still trying to write the log
>> file.
>>  > > > >
>>  > > > > In our research, we found the
registry key:
>>  > > > > My
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>>  > > > >
NT\CurrentVersion\ProfileList
>>  > > > >
>>  > > > > It has a key
'DefaultUserProfile' which is set to
>> CompanyDefaultUser.
>>  > > > >
>>  > > > > Is SmartSVN using this 'key'
somewhere? I'm guessing most
>> folks run
>>  > > > > with admin privileges or their
default user is the user they
>> log on
>>  > > > > with so this problem hasn't
been prevelant, but for us, it
>> may render
>>  > > > > SmartSVN unusable.
>>  > > > >
>>  > > > > We have tried multiple
scenarios of installing and
>> deinstalling as
>>  > > > > UserA (with admin privileges
and without). We've tried to
>> think up
>>  > > > > every possible combination
that could be causing this. We
>> can't find
>>  > > > > any settings in the XML or
.cfg file that we thought would be
>> causing
>>  > > > > this issue.
>>  > > > >
>>  > > > > Do you have any suggestions?
If there is something we can
>> send you,
>>  > > > > we'd be glad to.
>>  > > > >
>>  > > > > My colleague is running the
Foundation version. I am running
>> the pro
>>  > > > > version.
>>  > > > >
>>  > > > > Thanks!
>>  > > > > Jonathan
>>  > > > >
>>  > > > >
>>  > > >
>>  > >
>>  > >
>>  >
>>
>>
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups
.yahoo.com/group/smartsvn/

<*> To unsubscribe from this group, send an email to:
    smartsvn-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 


Issue with .smartsvn files and _lock_ file
user name
2006-08-24 15:46:43
Thanks Rob, glad to know I'm not the only one.  We have
investigated
this a bit further, but still have no real answers.

I cleaned off all of my 'extra' jre's.  I had about six
on my system.
 I'm down to 1.5.0_06 now. (Smartsvn was pointing to my
1.4.2_06
version before when it was starting up because it looks for
1.3, 1.4
then 1.5).

Anyway, that didn't change anything.  The behaviour is
still bizarre.
 user.home will usually point to the 'default' user
directory rather
than my home.  Setting the vmoption smartsvn.home in
smartsvn.cfg will
fix smartsvn.home on my directory, but user.home will still
points to
the 'default'...most of the time!  

Strange...

Cheers,
Jonathan


--- In smartsvn@yahoogroups.com, Rod Mackenzie
<rod.mackenzie...> wrote:
>
> Hi,
> 
> I get the same problem not just with SmartSVN/CVS but
also with
IntelliJ 
> IDEA, it happens after installing the latest update to
the McAfee AV. 
> Logging out and back in sorts the problem and sometimes
it seems to
sort 
> itself out. HOMEPATH and USERPROFILE are correct but
running a java 
> program to output 'user.home' returns 'C:\Documents
and
Settings\Default 
> User' this would suggest Marc is correct in that it's
a JVM problem.
> 
> regards,
> Rod
> 
> Marc Strapetz wrote:
> > Hi Jonathan,
> > 
> > This is really strange. Unfortunately I do not
know exactly how
the VM 
> > determines "user.home". This
information is not (easy) to find ... It 
> > would be interesting to compare a set-log of a
correct start to an 
> > incorrect one.
> > 
> >  > Could one of our JVM's possibly be
customized and we don't know it?
> >  > Can we force smart svn to look at a certain
JVM with a setting
in the
> >  > smartsvn.cfg file?
> > 
> > You can try to set JRE home in bin/smartsvn.cfg.
Please rename the 
> > bundled jre/ temporarily to jre~/ before. log4j
log shows path and 
> > version of the actually used JRE.
> > 
> > --
> > Best regards,
> > Marc Strapetz
> > _____________
> > syntevo.com
> > 
> > fs5015 schrieb:
> >>
> >> Marc,
> >>
> >> I tried what you said below. It is very
interesting. I ran a 'set'
> >> right before running the command to start
smartsvn.exe. In the
> >> parameters displayed, the USERPROFILE is
pointing to me (doc and
> >> settings/my name), but strangely (and
consistently now), it starts up
> >> using the profile of our companyDefaultUser
profile. In log4j (under
> >> companydefaultuser because that is where it is
being started),
> >> user.home is set to doc and
settings/companyDefaultUser.
> >>
> >> Could you tell anything from our log files?
> >>
> >> Could one of our JVM's possibly be customized
and we don't know it?
> >> Can we force smart svn to look at a certain
JVM with a setting in the
> >> smartsvn.cfg file?
> >>
> >> This is one of those things where we have the
workaround, but it's
> >> driving me crazy trying to figure out why it
points to a
different user!
> >>
> >> Thanks Marc,
> >> Jonathan
> >>
> >> --- In smartsvn@yahoogroups.com
<mailto:smartsvn%40yahoogroups.com>, 
> >> Marc Strapetz <marc.strapetz>
wrote:
> >>  >
> >>  > Hi Jonathan,
> >>  >
> >>  > Could it be some kind of networking
problem? Are you using
> >>  > domains/special storage locations for
your profiles, etc.?
> >>  >
> >>  > > What sets the user.home variable?
(Sorry for my lack of Java
> >>  >
> >>  > It's the Java VM itself, which converts
native properties to the
> >> default
> >>  > Java system properties. It might be
interesting to start SmartSVN
> >>  > through a custom batch file which
outputs all Windows environment
> >>  > variables (using "set") to a
file before starting smartsvn.exe.
> >>  >
> >>  > --
> >>  > Best regards,
> >>  > Marc Strapetz
> >>  > _____________
> >>  > www.syntevo.com
> >>  >
> >>  > fs5015 schrieb:
> >>  > >
> >>  > >
> >>  > > Hi Marc,
> >>  > >
> >>  > > We are still trying to figure this
out. We tried setting the
> >>  > > Dsmartsvn.home and it worked
though, so we are good if we
all do that
> >>  > > manually.
> >>  > >
> >>  > > But, we are just curious why it
points to our other user on
our system
> >>  > > sometimes and not others. I looked
at my CompanyDefaultUser
on my
> >>  > > system and the log4j file for that
user had 4 entries in
there where
> >>  > > it started up on different
occasions as that user.home. It
was all
> >>  > > with different versions of
SmartSVN. One when I had 2.01
installed.
> >>  > > Two with 2.02 and one with 2.04.
The user.name is my name
(not the
> >>  > > companydefaultuser) on all of the
entries.
> >>  > >
> >>  > > What sets the user.home variable?
(Sorry for my lack of Java
> >>  > > knowledge.) I have 5 java runtime
diretories on my pc under
program
> >>  > > files/java. It always uses
j2re1.4.2_06. I have up to
jre1.5.0._06.
> >>  > > My colleague I was discussion below
doesn't have any. She
uses the
> >>  > > jre you provide (that gets put in
the smartsvn/jre directory).
> >>  > >
> >>  > > We are just kind of at a loss.
Seems strange.
> >>  > >
> >>  > > Thanks Marc,
> >>  > > Jonathan
> >>  > >
> >>  > > --- In smartsvn@yahoogroups.com
<mailto:smartsvn%40yahoogroups.com> 
> >> <mailto:smartsvn%40yahoogroups.com>,
> >>  > > Marc Strapetz <marc.strapetz>
wrote:
> >>  > > >
> >>  > > > Hi Jonathan,
> >>  > > >
> >>  > > > SmartSVN simply uses Java
System Property "user.home", which
> >> should be
> >>  > > > correctly initialized with the
value of "%USERPROFILE%". The
> >> initial
> >>  > > log
> >>  > > > statements after starting
SmartSVN show the property
value. If it
> >>  > > > actually points to the wrong
directory, this might be a
JRE bug
> >>  > > > (although a quick google did
not bring any results here).
> >> Anyway, using
> >>  > > > a more recent JRE would be an
option.
> >>  > > >
> >>  > > > Another option is to
explicitly set
> >>  > > >
> >>  > > >
vmoption=-Dsmartsvn.home=c:\path\to\your\profile
> >>  > > >
> >>  > > > in bin/smartsvn.cfg.
> >>  > > >
> >>  > > > --
> >>  > > > Best regards,
> >>  > > > Marc Strapetz
> >>  > > > _____________
> >>  > > > SyntEvo GmbH
> >>  > > > Schillerallee 2
> >>  > > > 83457 Bayerisch Gmain
> >>  > > > Germany
> >>  > > > www.syntevo.com
> >>  > > >
> >>  > > > fs5015 schrieb:
> >>  > > > >
> >>  > > > >
> >>  > > > > Hi guys,
> >>  > > > >
> >>  > > > > We are having some
strange things go on when using SmartSVN.
> >> SmartSVN
> >>  > > > > is creating its .smartsvn
directory and files under a
> >> 'default' user
> >>  > > > > on our systems and it
uses those .smartsvn files rather than
> >> the ones
> >>  > > > > under our user profile
sometimes. I'll try to explain and
> >> hopefully
> >>  > > > > something will come out
of it.
> >>  > > > >
> >>  > > > > This is on Win2000, SP4.
> >>  > > > >
> >>  > > > > Our company creates a
user on every system named
> >> 'CompanyDefaultUser'.
> >>  > > > > 'CompanyDefaultUser' is
a hidden profile with read/write
> >> privileges
> >>  > > > > to the account only
available to someone with 'admin'
> >> privileges. We
> >>  > > > > each have our own profile
on a machine, say 'UserA'. We
> >> always log on
> >>  > > > > and use SmartSVN as our
user profile (i.e. UserA).
> >>  > > > >
> >>  > > > > For some reason, SmartSVN
'sometimes' wants to write its log
> >> file and
> >>  > > > > use the .xml files under
the CompanyDefaultUser/.smartsvn
> >> directory.
> >>  > > > > When we do a
%USERPROFILE% to see what the profile is
set at,
> >> it is
> >>  > > > > always set properly (in
our example, C:\Documents and
> >> Settings\UserA).
> >>  > > > >
> >>  > > > > Most of us used to stay
logged on with 'admin'
privileges all
> >> of the
> >>  > > > > time, so it was never an
issue, but now we are not supposed
> >> to, so
> >>  > > > > SmartSVN will just refuse
to start. Our theory is
because it is
> >>  > > > > trying to write its
logfile to c:\Documents and
> >>  > > > >
Settings\CompanyDefaultUser and can't because that user
> >> doesn't have
> >>  > > > > write privileges to
everyone.
> >>  > > > >
> >>  > > > > We are at a loss of how
to fix this. We tried to set the
> >>  > > > > DSmartsvn.applock=false
so it wouldn't try to write the lock
> >> file, but
> >>  > > > > that doesn't help
because it is still trying to write
the log
> >> file.
> >>  > > > >
> >>  > > > > In our research, we found
the registry key:
> >>  > > > > My
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> >>  > > > >
NT\CurrentVersion\ProfileList
> >>  > > > >
> >>  > > > > It has a key
'DefaultUserProfile' which is set to
> >> CompanyDefaultUser.
> >>  > > > >
> >>  > > > > Is SmartSVN using this
'key' somewhere? I'm guessing most
> >> folks run
> >>  > > > > with admin privileges or
their default user is the user they
> >> log on
> >>  > > > > with so this problem
hasn't been prevelant, but for us, it
> >> may render
> >>  > > > > SmartSVN unusable.
> >>  > > > >
> >>  > > > > We have tried multiple
scenarios of installing and
> >> deinstalling as
> >>  > > > > UserA (with admin
privileges and without). We've tried to
> >> think up
> >>  > > > > every possible
combination that could be causing this. We
> >> can't find
> >>  > > > > any settings in the XML
or .cfg file that we thought
would be
> >> causing
> >>  > > > > this issue.
> >>  > > > >
> >>  > > > > Do you have any
suggestions? If there is something we can
> >> send you,
> >>  > > > > we'd be glad to.
> >>  > > > >
> >>  > > > > My colleague is running
the Foundation version. I am running
> >> the pro
> >>  > > > > version.
> >>  > > > >
> >>  > > > > Thanks!
> >>  > > > > Jonathan
> >>  > > > >
> >>  > > > >
> >>  > > >
> >>  > >
> >>  > >
> >>  >
> >>
> >>
> > 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >
>







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups
.yahoo.com/group/smartsvn/

<*> To unsubscribe from this group, send an email to:
    smartsvn-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )