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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

541 views 1 2
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