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

Cannot remove ACLs from a disk

0 drwxrwxrwx+ 50 jar staff 1768 Dec 13 18:15 MacHD3

Many apps cannot write to this disk. I cannot even list it in a terminal:

JARSTUDIO:Volumes jar$ cd MacHD3
JARSTUDIO:MacHD3 jar$ sudo ls -l
total 0

ls: .: Operation not permitted


Nothing seems to work to fix it:

jar$ sudo chmod -N MacHD3
chmod: Failed to clear ACL on file MacHD3: Operation not permitted

JARSTUDIO:Volumes jar$ sudo xattr -rc MacHD3
xattr: [Errno 1] Operation not permitted: 'MacHD3

I can't see the ACL:

JARSTUDIO:MacHD3 jar$ ls -ale
total 0
ls: .: Operation not permitted

JARSTUDIO:MacHD3 jar$ sudo setfacl -bn MacHD3
sudo: setfacl: command not found

JARSTUDIO:MacHD3 jar$ ls -ldeO@ ./
drwxrwxrwx+ 50 jar staff - 1768 Dec 13 18:15 ./
0: 250769F4-8B1D-4541-B602-DF908BB54C15 allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity

JARSTUDIO:MacHD3 jar$ sudo chflags -R nouchg ./
hflags: ./: Operation not permitted
JARSTUDIO:MacHD3 jar$ cd ../
JARSTUDIO:Volumes jar$ sudo chflags -R nouchg MacHD3
chflags: MacHD3: Operation not permitted

How do I fix this??

Mac Studio, macOS 13.1

Posted on Dec 14, 2022 12:18 PM

Reply

Similar questions

3 replies

Dec 15, 2022 7:44 AM in response to jrome

Access Control Lists are not something the average user would ever need to concern themselves with but SysAdmins and Developers should know how it all works.


ACL's have been around since 10.4 and the way they have been applied and used changed over the last several macOS and file system changes such as APFS. New security changes all along the way.


Read up on Access Control Lists on the excellent Mac blog posts by The Eclectic Light Company, Dr Howard Oakley always has such excellent detailed articles.


https://eclecticlight.co/2022/02/16/permissions-and-acls/


Also search the Manpages for 'acl' and the See Also section lists all the commands that can work with ACLs.



Cannot remove ACLs from a disk

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