I missed the solution by googling for a fix to file system access rather than for a fix to ssh access to the file system. There is a "Allow full disk access" checkbox in the pane for "Remote Login," which is ssh, in System Preferences > Sharing. That wasn't there last time I looked, which was probably a while ago.
History of discussion remains below for general interest; forgive the top post, but I doubt many post after this on the thread. :) On Tue, Jul 04, 2023 at 01:27:55PM -0400, Doug Lee wrote: On Tue, Jul 04, 2023 at 01:04:00PM -0400, 'Jason White' via MacVisionaries wrote: > >On 4/7/23 12:00, Doug Lee wrote: >> At some point in the last few weeks, my ~/Downloads folder became unreadable >> even by root: >> >> Mini 1# ls Downloads >> ls: Downloads: Operation not permitted > >Is it a local directory, not hosted on iCloud or elsewhere? I would suggest >confirming. If it's hosted remotely, then check your access to the file >storage (e.g., that you're logged in). > >If the files are stored locally, then I suspect file system corruption. Can >you run a file system check (initially without repairing anything)? Definitely local and not corruption; that attribute is reported to affect access to files and folders, and also to be difficult to remove. I can actually prove that the folder itself is ok by things like cd Downloads/blah when I know folder blah exists in it. The subfolders work fine; the OS simply won't let me read the list of contents of the Downloads folder. In normal Unix terms, ~/Downloads almost acts like it has permissions 111 (--x--x--x); but it doesn't. -- Doug Lee [email protected] http://www.dlee.org There is more freedom in knowing how to handle pain than in knowing how to avoid it. (4/29/01) -- Doug Lee [email protected] http://www.dlee.org "There's no limit to what a man can do or where he can go if he doesn't mind who gets the credit." Ronald Reagan? -- The following information is important for all members of the Mac Visionaries list. If you have any questions or concerns about the running of this list, or if you feel that a member's post is inappropriate, please contact the owners or moderators directly rather than posting on the list itself. Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: [email protected] and your owner is Cara Quinn - you can reach Cara at [email protected] The archives for this list can be searched at: http://www.mail-archive.com/[email protected]/ --- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/macvisionaries/20230704181359.zhks45b5tc3fo3m2%40dlee.org.
