[p4] UNC Paths in Client Specs

Cameron Childress cameronc at gmail.com
Wed Jan 10 10:37:05 PST 2007


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


More information about the perforce-user mailing list