Cloning Git Repository fails: An error occured while checking the destination directory: Unknown error

I'm using version 1.6.20.0 of Windows SourceTree running under Win7.  The destination directory is a SAMBA file share from an Oracle Unbreakable Linix (RHEL 6) server which is empty and to which I have R/W access.

I tried mapping a drive letter to the share with the same result.  I can clone to Windows-based file shares with no problem.  The SAMBA config for the directory is as follows

 

[cw-design]
comment = R/W HTML/PHP
path = /var/www/apps/cw-design
create mask = 0664
directory mask = 0775
writeable = yes
browseable = yes
valid users = <ACTIVE DIRECTORY GROUP OF WHICH I AM A MEMBER>
#force group = apache
force group = <A GROUP WE USE FOR DEPLOYMENT OF WEB FILES>
force user = <A USER WE USE FOR DEPLOYMENT OF WEB FILES>
guest ok = no

Any ideas as to why I can't clone from Windows SourceTree to a SMB share on Linux?

1 answer

SourceTree (and Git in general) don't work reliably when trying to use a network share repository as local.

Despite whether what you are trying to do is a valid use case for a network-share repository, the people who make decisions about Git would say "just clone it to both the local drive and server, and push/pull as necessary."

 

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

234 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot