Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unix permission issues with Catalina starting in ~June

I am running Catalina 10.15.7 and suddenly after some upgrade in June, everything is f-d up for use in unix.


For example:

[a:~] Bruce% sudo ls Documents/per

Documents/ unreadable


[a:~] Bruce% sudo ls Documents/personal//fun/outdoors_backpack_climb/*

sudo: No match.

[a:~] Bruce% sudo ls Documents/personal/fun/

Password:

ls: : Operation not permitted


OK, is this a simple permission issue?


[a:~] Bruce% ls -l .

total 2360

-rw-r--r-- 1 Bruce staff 41 Aug 11 2014 #.aliases#

drwxr-xr-x 9 Bruce staff 288 Aug 8 2022 Applications

drwx------@ 4 Bruce staff 128 Jul 11 18:56 Creative Cloud Files

drwx------+ 40 Bruce staff 1280 May 9 12:29 Desktop

drwx------+ 24 Bruce staff 768 Jul 11 19:54 Documents

drwx------+ 48 Bruce staff 1536 Jul 13 23:20 Downloads

...


apparently not. I have drwx permission for Documents, so...????


Any help would be much appreciated.


Thanks,


-TPC


MacBook Pro 13″, macOS 10.15

Posted on Jul 14, 2023 11:56 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 14, 2023 8:37 PM

OK, NAILED IT!!!!


1) It's not a Unix issue, it's an Xquartz issue. Terminal works fine.


2) Adding all disk access for Xquartz is not enough. You have to add all disk access for /bin/bash (?!?!!!!). This is kinda tricky, and you should look at this:


ls : operation not permitted - Apple Community


And that, is THAT!


Thanks everyone, I hope this helps someone else.


Keyword spam: Cannot ls, ls not permitted, issues with Xquartz


Similar questions

7 replies
Question marked as Top-ranking reply

Jul 14, 2023 8:37 PM in response to ThePirateCapn

OK, NAILED IT!!!!


1) It's not a Unix issue, it's an Xquartz issue. Terminal works fine.


2) Adding all disk access for Xquartz is not enough. You have to add all disk access for /bin/bash (?!?!!!!). This is kinda tricky, and you should look at this:


ls : operation not permitted - Apple Community


And that, is THAT!


Thanks everyone, I hope this helps someone else.


Keyword spam: Cannot ls, ls not permitted, issues with Xquartz


Jul 14, 2023 5:18 PM in response to ThePirateCapn

That is very odd to see a filename with a "#" character in the name.


Do you have any zsh profile files in your home folder? If so, either rename them or move them elsewhere, then logout & log back in to the macOS user account. Now see if you still have the same issues. If it now works, then you have something in one of those local zsh configuration files causing a problem.


You can also try creating & using a new macOS user account to see if you have the same issue. This will tell you if you have an issue with your main user account or if it is a system wide issue.

Unix permission issues with Catalina starting in ~June

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.