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:
Hi,
I am currently seeing this issues with one of my users, strangely nobody else in the same SAS groups has the issue, did you ever figure out what was causing your issue?
thanks
Stewart
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!