Hi Team,
We are trying to clone repository on SAS studio in Git repositories section. We have already created the connection and using same profile to clone the repository, but while performing the same we are getting the below error.
Error: The specified location "/home/*" is not valid for a local repository.
Also, we have executed the below command to add the path in safe directory section in .gitconfig file and still facing the same issue.
Command: git config --global --add safe.directory /home/*
Please help us to resolve this issue. Your help will be highly appreciated.
Yes, user have permission to create a directory on same path.
had the same issue with our new NAS Share which is CIFS but can do also NFS.
sas-launcher-* Log you can find this error message:
{"level":"error","message":"ERROR: Return code from GIT is (2). failed to set permissions on file
It can create the files/folders but not edit anymore, it's an issue with temp/swap files/folders.
Solution: ignore ntfs operations
With this change it will ignore NTFS operations and just do what NFS wants.
Here are more technical details for your NAS Admin:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!