Git setup failed for project stored on a secure network drive

I'm trying to set up version control for a package development project where the project folder is stored on a secure network drive that I access from my Mac by connecting to a server using smb. I'm able to open the R project on my computer and read and write files from R over the network.

However, when I try to set up Git version control for the project (through Tools -> Project Options -> Git/SVN), when I select "git" in the "Version control system" dropdown, I get the dialog to "Confirm new git repository", but after clicking "Yes" I get "Error operation not permitted."

I'm not sure what the next step is here. How can I diagnose and resolve whatever is going wrong and get Git set up for this project?

1 Like

Shared drive permissions and pathnames tend to be squarely in my experience. My instinct would be to create the project outside of RStudio, then open it a a new Rproj as an existing folder.

Thanks Richard. I'll give that a try and report back.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.