[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Windows User vs Novell User

From: Nicholas Sloan <SloanN_at_certauth.cc.wmich.edu>
Date: 2006-12-15 18:41:01 CET

Frode,

The subversion server is running on a Windows server, separate from the Novell file server and Windows workstation. I have it set up to use WebDAV.

The Novell client is invisible, you map the network drive to a drive letter, and then the client transparently takes over any time you try to write to that drive. I can write to the file from any application with absolutely no trouble, even Subversion was able to write to the drive when I did svn checkout. There is no actual permission error, just one that is being imagined. Windows believes the tmp directory to be read-only because they are marked in such a way that only the Novell user has permissions to write to them, so Windows thinks that it can't write there, but in actual practice, if you simply try to create a file in that directory, there is no such problem because the Novell client accesses the files as the Novell user, not the Windows user.

I am running 'svn update' from within the working directory while there are newer files in the repository, buy a file in the working directory has been modified. This causes svn to try to create a temporary file in tmp/. Svn seems to check first if the current user (the Windows user) has permission to write to that directory, and sees that it doesn't. It returns an error saying "Cannot write to Q:/test/.svn/tmp/tempfile.tmp: Access Denied."

-Nick

>>> Frode Tenneboe <frode.tennebo@saabgroup.com> 12/14/06 11:50 AM >>>
On Wed, 2006-12-13 at 23:16 -0500, Nicholas Sloan wrote:
> Steve, first of all, you seemed to have forgotten to reply to all
> with your response. You are actually the only one to respond so far.
>
> For anyone interested, my working directory is on a networked drive
> which is on a Novell Netware server, I believe.

First of all, I don't know much about Novel servers, but normally with
heterogeneous file servers there is a way of mapping the username from
one environment (windows) to the internal (here: Novel) representation.

> On my Windows workstation (running svn) the username is SloanN.

So the subversion server is running on the workstation? Or are you
using fsfs?

> My Novell username (the user that actually writes to the drive) is
> SloanN.Users.ATIS.AOU.WMU.
>
> The Novell username is too long to set as a Windows XP username.

Rather impractical as well, I'd guess....

> Subversion is running as SloanN. All of the other files used by
> subversion are writable by anyone, but the tmp directory is only
> writable by the owner.

Can you, from Windows and a Novel client alike, create a file from your
favourite tool and delete it again? If not, what is the exact error?

> simply seeing "Writable by owner only, owner is
> SloanN.Users.ATIS.AOU.WMU, I am SloanN" is enough to scare svn away
> from attempting to write the files.

You are sure about that? It is the svn client which falls over? What
is the exact command and corresponding error you are receiving?

 -Frode

-- 
^ Frode Tennebø             | email: Frode.Tennebo@saabgroup.com ^
| SAAB Microwave Systems AS | Isebakkeveien 49                   |
| N-1788 Halden             | Phone: +47 45 24 99 39             |
| with Standard.Disclaimer; use Standard.Disclaimer;             |
Received on Fri Dec 15 18:42:18 2006

This is an archived mail posted to the Subversion Users mailing list.