Re: CIFS and Subversion (459 Views)
Reply
Frequent Advisor
ptrskg
Posts: 40
Registered: ‎10-21-2004
Message 1 of 5 (517 Views)
Accepted Solution

CIFS and Subversion

Hi,

 

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.

Peter

 

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

[global]
        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

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

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

[print$]
        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

[profiles]
        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*/

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

 

Frequent Advisor
ptrskg
Posts: 40
Registered: ‎10-21-2004
Message 2 of 5 (507 Views)

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

Z:\aaa\bbb>

 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?? 

 

Peter

Esteemed Contributor
H.Becker
Posts: 373
Registered: ‎04-09-2009
Message 3 of 5 (498 Views)

Re: CIFS and Subversion

>>>It seems that directories beginning with "." is only allowed on root level?? 
 
No:
 
$ cre/dir [.^.x]
$ dir *x.dir
 
Directory USR_ODS5:[BECKER_H]
 
^.x.DIR;1           
 
Total of 1 file.
$ 
 
It is more likely a problem with CIFS and how it maps and finds such a directory name like .svn.
Respected Contributor
Paul Nunez
Posts: 145
Registered: ‎05-07-2003
Message 4 of 5 (463 Views)

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

bin

ls

get <filename>

quit

 

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

 

Regards,

 

Paul

Frequent Advisor
ptrskg
Posts: 40
Registered: ‎10-21-2004
Message 5 of 5 (459 Views)

Re: CIFS and Subversion

Hi Paul,

Thanks a lot, the patch solved my problem.

Peter

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.