Root access without password.

Hi.

I notice that Sublime Text, which is a simple application, has root access privileges. It can modify and save .plist files that are in Library directory and have read/write access ONLY for System. Sublime Text modifies these files without even asking the password!


Other applications, like Xcode or PlistEdit Pro are not able to modify these files.


Is it a serious security but or what is going on? How Sublime Text can have these elevated access rights when it is just a simple application installed by dragging it to applications folder (this process does not even require password)?


Thanks.

Posted on Feb 20, 2023 10:16 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 22, 2023 6:45 AM

Sublime Text, which is a simple application, has root access privileges..

I doubt that is the case. /Library is not a single, unified folder. It is a combination of multiple folders & files, some of which are writeable, some of which are not.


What appears in the Finder as a single /Library folder having r/w access only for System is actually a combination of multiple folders, some of which are located in the Data volume and are writeable, some of which are located in the System volume and are not. Those underlying folders are all firmlinked together and presented as a single /Library folder in the Finder.

8 replies
Question marked as Top-ranking reply

Feb 22, 2023 6:45 AM in response to ron App

Sublime Text, which is a simple application, has root access privileges..

I doubt that is the case. /Library is not a single, unified folder. It is a combination of multiple folders & files, some of which are writeable, some of which are not.


What appears in the Finder as a single /Library folder having r/w access only for System is actually a combination of multiple folders, some of which are located in the Data volume and are writeable, some of which are located in the System volume and are not. Those underlying folders are all firmlinked together and presented as a single /Library folder in the Finder.

Feb 21, 2023 7:50 AM in response to ron App

Do any of the below listed applications look familiar and used on this computer ?


Any Third Party Applications that will interfere with the normal operation of the OS,  is an invitation for disaster and comprising the Operating System


Certain Applications maybe available on the Apple Apps Store - this only means the Developer is prepared to pay Apple a portion on each sale. What the Application may do to the computer is up to the User to check this out before purchase


Any of the below should be removed as per Developers Instructions


1 - Disk Cleaner 


This will include CleanMyMac , aka “ BrickMyMac “


MacKeeper,


Dr Cleaner Pro Plus


Open Cleaner one Pro


Macmechanic


Or better still ➡️


Download the Application Etrecheck directly from the Developer.


This is a Diagnostic Tool that makes no changes to the computer.


It makes a coherent and readable inventory of both the Hardware and Software used on the computer 


The application is free or paid from added features. 


The Report will Not Reveal Any Personal Information. 


Post back the Full Report - copy and paste - >>>> using the Additional Text Icon ( 3rd Icon to last ) <<<<



We can have a look at the report for possible issues and may have possible suggestions to resolve the issues

Feb 21, 2023 7:46 AM in response to Owl-53

Ok, I think I am familiar with what articles say, it is how it SHOULD be.


I am explaining the situation where things are apparently NOT happening in the way it should be - an application installed by simple dragging it to application folder can modify system files that should ONLY be accessible through elevated privileges.


My question was - why an application can have such elevated rights that other applications like text edit, xcode, plistedit pro do not have. Articles you linked do not appear to answer that.

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.

Root access without password.

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