If you are one of the lucky ones who has acquired one of the new computers of the apple brand, you will know that a process of assimilation of new concepts and ways of working.
It is clear that as the months go by you will know more and more shortcuts that help you perform daily tasks faster.
One of them is the one we bring you today. It is one of the most important maintenance tasks that we must carry out from time to time on our Mac and even more so in the first months, which is when we go around tinkering with installing and uninstalling applications. Repair permissions It is a very easy task to do, since for this the only thing we have to manage is to enter Launchpad / OTHERS / Disk Utility and within there, we select the hard drive and give it to repair permissions. However, you will see that with the daily work that you will have more than once you will forget to do it. Well, today we are going to show you how to make the Mac itself repair the permissions using the automator y Calendars.
The first thing we have to do is call Automator from Spotlight, the magnifying glass at the top right of the desktop. When it opens, we must select "Calendar Alarm". Once inside, we go to the left column and select "Utilities", and within it in the next column we look for "Execute the Shell script" which we will select and drag to the window on the right.
The next step is to replace the word "cat" that appears with the following statement (diskutil repairPermissions disk0s2) without the parentheses. If you notice, inside the instruction at the end appears "disk0s2". That is the name with which OSX has identified my hard drive. To know yours you must open the "Terminal" found in Launchpad / OTHERS write the following (diskutil list) and hit enter. The primary hard drive will be the Apple_HFS Macintosh HD.
When you know how the system calls your hard disk, you substitute the name in the automator instruction and give it to save, giving it a name that identifies the process as "REPAIR PERMISSIONS".
When you finish saving, "Calendar" will automatically open and an event will appear on the day you are doing the permission repair. You only have to edit that event and tell it to repeat itself as often as you deem appropriate.
More information - Convert PDF files to ePub with Automator
Hi, go through all the instructions to automate the permission repair and give me the following legend:
'The action' Run the shell script 'encountered an error.
Review the properties of the action and try running the workflow again. »
What could it be?