Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note to the README about the dangers of cloning to ~/Documents #86

Closed
cooljeanius opened this issue Nov 28, 2021 · 2 comments
Closed

Comments

@cooljeanius
Copy link

By default, the GitHub Desktop app clones repositories to ~/Documents/GitHub. This means that if people click the "Open with GitHub Desktop" button, that's where this repository will get put (at least unless the user intervenes). This would normally be fine, however, in recent versions of macOS, the OS has started protecting the ~/Documents folder so that the usual chown/chmod methods of granting permissions to access it are no longer enough. Instead, if the user clones the repository to ~/Documents, they then have to go into System Preferences, click on the "Security & Privacy" prefpane, and then grant Full Disk Access to all the relevant MacPorts binaries (which can be somewhat difficult since the MacPorts prefix is hidden from this prefpane by default; I had to symlink it somewhere where it could find it). There should be some sort of note in the README warning of this potential issue that users could experience.

@RJVB
Copy link
Owner

RJVB commented Nov 28, 2021 via email

@RJVB RJVB closed this as completed in 10a4f5b Nov 29, 2021
@RJVB
Copy link
Owner

RJVB commented Nov 29, 2021

Fixed with #10a4f5bd12652c82715520ef06eb859955ee45ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants