Upon booting off the Leopard DVD, use Disk Utility to select the hard drive device, and select the "Partition" tab in the main Disk Utility window.
#RUN DISK UTILITY MAC COMMAND LINE INSTALL#
If the tools still do not work, then users should completely erase and repartition the hard drive, performing a full, clean install of the operating system. After performing the install, users should run a permissions fix on the hard drive using Disk Utility, and then test out the command line tools. This will archive the old system and install a fresh version of the operating system, with options to preserve user data and settings.
![run disk utility mac command line run disk utility mac command line](https://eshop.macsales.com/blog/wp-content/uploads/2017/01/Scan1280.jpg)
Ensure the system has been recently backed up, and then boot off the Leopard DVD and install the system using an "Archive and Install" method of installation. If the disk checks out by various utility programs, it may be that the system has become corrupt in areas involved with permissions handling, and reinstallation should be the next step. Users have had success with DiskWarrior, but others that may work are Drive Genius and TechTool Pro. If a the disk repair does not fix the problem (or does not show any problems to fix), it could be due to Disk Utility not being able to detect the problem, and a more robust disk repair program should be tried. Disk Utility is available from the "Utilities" menu in the OS X installer program. The first step users should take is to boot off the Leopard DVD and run Disk Utility to repair the boot drive. However, if the filesystem has an error, if utilities cannot fix it then a format of the drive will be required. If the system has a problem that affects these tools (which are relatively simple and straightforward), then the best fix would be a reinstallation of the system. This is especially true if the problems are coupled with applications not running correctly or standard finder functions not working, such as file deletion, renaming, or location changes.
![run disk utility mac command line run disk utility mac command line](https://iboysoft.com/images/summary/disk-utility-wont-let-you-erase-hard-drive.jpg)
When these administrative command line tools stop functioning, it indicates a major problem with either the core system or the filesystem. Also, "sudo rm -rf EyeTV.app" has no effect - again no error is reported and no change takes place - the folder is still present!" "If I run "sudo chown -R root:wheel EyeTV.app" (which are the permissions I need) then no change takes place (i still see user 502) and no error is reported.
![run disk utility mac command line run disk utility mac command line](https://i.stack.imgur.com/dlVVq.jpg)
These tools are exceptionally important for the administration of users' computers, but for some users the tools will not work, as exemplified by an Apple Discussion users who attempted to change permissions for a faulty EyeTV application.
#RUN DISK UTILITY MAC COMMAND LINE MAC OS X#
Mac OS X comes with a standard set of UNIX command line tools for administering and otherwise running the computer, such as "sudo", "chown", and "chmod", which directly manage user permissions and file accessibility.