Hi guys, i was trying to put up a version control for an existing UiPath project in RDP. On my personal laptop, when i followed the document and did GitInit commit and push, it created a UiPath folder that contains a .repository folder in Documents folder.
However, on my company’s laptop, i do not have permission to Documents folder, so it kept giving me Access denied error when i try to push. We can contact IT department for permission here but it is preferred to not change the permission. I searched on the internet and Studio settings but could not seem to find where to change the location that creates .repository. Or at least i think that was the cause for my error.
I tried with newly created fresh project in other disks on RDP, which i specified the project location instead using the default location, but that did not help either. Any tips would be appreciated, thanks.
Error shows:
System.UnauthorizedAccessException: Access to the path xxxx\Documents\UiPath.repositories’ is denied.
HI Welcome To The UiPath Community ,
when you are using a different directory what error you received?
also try below steps using Git command
- Open CMD and perform
- cd “To New directory”
- Git clone your remote directory to this new diretcory
and then open the project using UiPath
please try and let me know
1 Like
Hi there, thanks for your reply.
We were getting the same error, despite we chose to create the process in an other folder. We have also tried to move our current project to other locations, however we are still getting the Documents\UiPath.repository access denied error message.
We do not have the project on github yet, we are trying to start using Github for version control. However that error message prevented us.
We clicked GitInit, Commit and Push, then the error shows. When i tried on my personal laptop with a fresh project, it works and ask for git url. I think the problem was that it fails to create UiPath/.repository folder in Documents, that is why i wonder if there is any other solution rather than asking IT department for write permission in Documents folder.
Hey thanks for elaborating the issue , seems it is more of RDP access level issue.
on other drives there shouldn’t be any issue related to unauthorized access
couple of things below you can try
1)after creating a folder anywhere in your machine(Assuming windows), right click folder–> properties → security
and try giving users group as full control and then check git process
2) or check what permissions you have been given to on that machine and user group you are part of
Make sure you can access the file or path manually on the machine and user id that it is being run on. That’s typically why you would get Access Denied.
Server Manager–>Computer management–>User Groups
check if you can access a file/folder from externally (from your local machine)
i feel you don’t have right access to folders on the machine
We tried to create folder in Documents folder which failed since we do not have access to write to it. And when we tried on other location, it still shows the access denied to Documents folder, though we created a fresh project in other location, which is not in Documents.
That is why i think when we try to GitInit, it somehow wants to create that folder in Documents before push. Since we do not have access, i wonder if there is some settings i have missed or something
1 Like
hey you can try GitBash , just to check if it is wrong with Machine side or UiPath side .
try GitInit from Git Bash and see
Just a thought