monterey 12.2 upgrade - enable root user ?? and /usr/local permissions and root user not all permissions???

Why did I have to enable the root user after this update?

Why have the permissions on /usr/local changed with this update?

The root user can I not execute chmod on /usr/local?


-mbp:usr root# ls -l

total 0

lrwxr-xr-x 1 root wheel 25 Jan 22 00:42 X11 -> ../private/var/select/X11

lrwxr-xr-x 1 root wheel 25 Jan 22 00:42 X11R6 -> ../private/var/select/X11

drwxr-xr-x 1027 root wheel 32864 Jan 22 00:42 bin

drwxr-xr-x 33 root wheel 1056 Jan 22 00:42 lib

drwxr-xr-x 308 root wheel 9856 Jan 22 00:42 libexec

drwxr-xr-x 17 root wheel 544 Feb 1 10:27 local

drwxr-xr-x 233 root wheel 7456 Jan 22 00:42 sbin

drwxr-xr-x 46 root wheel 1472 Jan 22 00:42 share

drwxr-xr-x 6 root wheel 192 Jan 22 00:42 standalone

-mbp:usr root# chgrp admin local

chgrp: local: Operation not permitted

-mbp:usr root# chmod 777 local

chmod: Unable to change file mode on local: Operation not permitted

-mbp:usr root#


MacBook Pro 16″, macOS 12.1

Posted on Feb 1, 2022 3:40 PM

Reply

Similar questions

4 replies

Feb 1, 2022 8:28 PM in response to etresoft

Not 100% accurate.

The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated.


This is a place I install software that I need, and should be able to do so, as I am an admin.


I do agree if i have admin rights I should not ever have to enable a root user as I should have root access via my admin user. That is currently not happening for my admin user or root.


I have enabled the root user to troubleshoot if the issue is related to my user account, I also created a test admin user. None of the three users can change permission on the /usr/local directory to allow writing to the directory.


I have spoken to Apple Support, and then an Apple tech. We have confirmed that how things are working is not the way they should, so need to go into have someone look at it.

Feb 2, 2022 5:41 AM in response to jakecart

jakecart wrote:

The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated.

It does not get overwritten during system updates.

This is a place I install software that I need, and should be able to do so, as I am an admin.

I do agree if i have admin rights I should not ever have to enable a root user as I should have root access via my admin user. That is currently not happening for my admin user or root.

Then that is the problem you should be trying to fix. Or rather “explore” as I think you are likely just doing something wrong.

I have enabled the root user to troubleshoot if the issue is related to my user account, I also created a test admin user. None of the three users can change permission on the /usr/local directory to allow writing to the directory.

Even root does not have privileges to change system files. This is by design.

I have spoken to Apple Support, and then an Apple tech. We have confirmed that how things are working is not the way they should, so need to go into have someone look at it.

The file system is working as designed.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

monterey 12.2 upgrade - enable root user ?? and /usr/local permissions and root user not all permissions???

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