Comments (6)
Another possible resolution mentioned elsewhere, that I unfortunately haven't had a chance to test yet on Catalina, is to grant your terminal app (e.g. Terminal.app, iTerm2, Alacritty, Kitty) Full Disk Access: System Preferences, Privacy, Full Disk Access
Has anyone had any success with this approach?
from dotfiles.
I've also been having the same issue in VSCode recently, and this is the only thing on the internet about it. For what it's worth, it seems I can work around it by using another terminal app (built-in or iTerm).
I assume it's a permission issue, but I'm not entirely sure.
from dotfiles.
Same issue. I'm just removing the lines from the file.
from dotfiles.
Confirming that this is also an issue in Catalina (macOS 10.15). I haven't found a resolution using the defaults
command, although I did find this discussion that suggested using AppleScript -- not that I'm going to try or recommend that: Changing Universal Access preferences - AppleScript - Late Night Software Ltd.
from dotfiles.
@stratofax I just tried and it seems to work. I am not entirely sure what the repercussions of this could be. Probably any program you run in Terminal.app can write anywhere on disk, if allowed?
from dotfiles.
My understanding is that Apple has added an additional layer of security between terminal apps and the file system. So, presumably, with Full Disk Access active for a Terminal app, you can write to the disk, but, as you noted, only if you have authorization with the active user account. Of course, if you're running a program as root
or using sudo
you would have full access, so use this power sparingly!
It used to be that the Mac Finder gave you a limited view of the file system (no hidden files, etc.) and you could open the terminal to see the "ground truth" of what was going on in the file system, but this new security layer Apple has added for Terminal apps obscures the file system for the Terminal, if not more than, at least as much as the Finder.
At least there's still a terminal app on macOS. I think if Apple could, they'd go full iOS and get rid of the Terminal and most file system access. So there's that.
from dotfiles.
Related Issues (20)
- Calls to systemsetup in macos script return error message HOT 1
- .os issues HOT 2
- boot in recovery mode
- `.macos` changes in macOS Ventura HOT 2
- Are the macOS defaults sane for Ventura as well? HOT 2
- Arch Chip
- `gz()` is inefficient HOT 2
- Suggested improvements for `dataurl` HOT 8
- In Browser Fast Keyboard Repeat Similar to Terminal (.macos) HOT 1
- `alias ip` collision
- GH Desktop can't open file manager on Linux Mint HOT 1
- `urlencode` is only compatible with Py2
- QuickTime autoplay on open does not work
- `git rev-parse --is-inside-work-tree` does not handle bare Git repositories correctly
- f0e40cf342566f07277b2bec80890be4350e126c
- Check for `ls` flavor in `.aliases` is no longer correct
- com.apple.SoftwareUpdate
- Normalised `open` doesn't work as expected on WSL2
- Add a method for uninstalling the dot files HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.