[p4] UNC Paths in Client Specs

Cameron Childress cameronc at gmail.com
Wed Jan 10 10:50:28 PST 2007


To add a little bit of information here - looks like if I create an
empty file called \\server1\otherroot\file.txt, P4 sees it and syncs
just fine.  I suspect that P4 is testing for the file's existance,
then the directory's existance called "otherroot" (which doesn't exist
as a directory, it's a share), and finally attempting to create a
directory called "otherroot", which it obviously can't do.

Can anyone confirm my wacky little hypothesis?

-Cameron

On 1/10/07, Cameron Childress <cameronc at gmail.com> wrote:
> I'm having trouble getting UNC paths to work for my clientspecs.  I
> have two nearly identical clientspecs for the same server.  They are
> both configured to sync the same set of code to the same locations
> within the root, the only real configuration difference is that the
> root for each points to a difference UNC path (ie: \\server1\webroot
> vs \\server1\otherroot).
>
> Now, the clientspec pointing to \\server1\webroot has been working for
> months and has no problems.  However, the clientspec pointing to
> \\server1\otherroot, which I just created, absolutely refuses to copy
> files to the server.  Share permissions check out, I can get to both
> machines using the UNC paths.
>
> The error P4Win is giving me in it's console window is:
>
> can't create directory for \\server1\otherroot\file.txt
> mkdir: \\: The filename, directory name, or volume label syntax is incorrect.
>
> I have tested creating files on this share and know it's not a
> permissions issue, so it must be something with the syntax of my
> configuration.  Also, I am curious as to why "mkdir" is complaining
> here since the file in question is on the root of the share and no
> directory needs to be created for it.
>
> Any ideas on what I may have inadvertently done differently between
> the clientspec that works with this UNC path and the one that doesn't?
>  Any suggestions?
>
> Thanks!
>
> -Cameron
>


-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: cameronc at mindspring.com


More information about the perforce-user mailing list