Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

CIFS and Subversion

Go to solution
Frequent Advisor

CIFS and Subversion



I have just installed the latest CIFS 1.2 ECO1 on OpenVMS 8.4,update7, created a share, mapped it on my WIndows 7 desktop and now I'm trying to do a SVN checkout, on Win7,  of some piece of code to the share (DNB).

It fails with the following SVN message:

Error: Can't create directory 'V:\psk\vlib_cifs\build\.svn': The system cannot find 

Error: the file specified.


Then I checkout the same code to another location, on windows, and try to copy it to my share, but that also fails with popup message saying "Could not find this item. This is no longer located in V:\psk\vlib_cifs\build. Verify item's location and try again. build".


The problem seems to be connected to the creation of the ".svn" directory on the share. The share is placed on an ODS-5 disk.


I'm new to CIFS and I can't find any info regarding this problem in the documents. And the logs on [var] didn't tell anything either.


Should I expect this to work, perhaps with some magic configuration, or is this a restriction in how I can use a CIFS share from Window 7?


Thanks for any input to this problem.



Here is the CIFS configuration in use.

# CIFS Server Main SMB.CONF file
# To update admin users in global section, use
#                samba$root:[lib]admin_users_smb.conf

        include = samba$root:[lib]core_smb.conf
        include = samba$root:[lib]generic_smb.conf
        include = samba$root:[lib]admin_users_smb.conf
        include = samba$root:[lib]%h_specific_smb.conf

        comment = Users homes share
        browseable = no
        read only = no

        comment = Netlogon share
        path = /samba$root/netlogon/
        read only = yes
        guest ok = yes
        browseable = no
        write list = @Administrators, cifsadmin

        comment = Printer Driver Download Area
        path = /samba$root/print_drivers/
        guest ok = yes
        read only = yes
        browseable = no
        vms path names = no
        write list = @Administrators, "@Print Operators", cifsadmin

        comment = Network profile share
        path = /samba$root/profiles/
        guest ok = no
        browseable = no
        store dos attributes = yes
        create mask = 04600
        directory mask = 04700
        read only = no
        profile acls = yes
        csc policy = disable
        hide files = /desktop.ini/outlook*.lnk/*Briefcase*/

        path = DSA1:[VCOMDEV]
        valid users = spp
        admin users = spp
        read only = no


Frequent Advisor

Re: CIFS and Subversion

Hi, after some more test I can reproduce the problem(error?) much more easy.


Z:\ is my share defined as above.

On Win7: 

Z:\>mkdir aaa

Z:\>mkdir .xxx

Z:\>cd aaa

Z:\aaa>mkdir .xxx
The system cannot find the file specified.

Z:\aaa>mkdir bbb

Z:\aaa>cd bbb

Z:\aaa\bbb>mkdir .xxx
The system cannot find the file specified.

Z:\aaa\bbb>mkdir xxx.xxx


 On VMS:

vms> di [.aaa...]

Directory VCOMDEV_ROOT:[000000.aaa]

bbb.DIR;1                                     1/40       13-NOV-2012 19:41:51.06

Total of 1 file, 1/40 blocks.

Directory VCOMDEV_ROOT:[000000.aaa.bbb]

xxx^.xxx.DIR;1                                1/40       13-NOV-2012 19:44:40.01

Total of 1 file, 1/40 blocks.

Grand total of 2 directories, 2 files, 2/80 blocks.


It seems that directories beginning with "." is only allowed on root level?? 



Honored Contributor

Re: CIFS and Subversion

>>>It seems that directories beginning with "." is only allowed on root level?? 
$ cre/dir [.^.x]
$ dir *x.dir
Directory USR_ODS5:[BECKER_H]
Total of 1 file.
It is more likely a problem with CIFS and how it maps and finds such a directory name like .svn.
Paul Nunez
Respected Contributor

Re: CIFS and Subversion

Hi Peter,


I believe those issues are resolved in a patch set for CIFS which may be obtained from:


$ ftp ftp.usa.hp.com

User: pathwork

Pass: Support9


cd cifs-v12-eco1/PS02_1



get <filename>



Unzip the patch set, shutdown CIFS and run in the included installation command procedure...





Frequent Advisor

Re: CIFS and Subversion

Hi Paul,

Thanks a lot, the patch solved my problem.