Re: Repair permissions in terminal
Posted: Sat Aug 20, 2016 8:08 pm
Thanks my sump brother 

MOTUNATION (formerly UnicorNation) is an independent community for discussing Digital Performer and other MOTU audio software and hardware. It is not affiliated with MOTU.
https://www.motunation.com/forum/
Your sibling from another sump.kgdrum wrote:Thanks my sump brother
... and way, way above mine, Mike.MIDI Life Crisis wrote:It's all above my f#%$ing pay grade...
What I'm saying is simple: repairing permissions has the exact same effect as barking at the moon.MIDI Life Crisis wrote:
Again, way over my pay grade, but I sort of grasped what stratology and Mike were saying... very-vaguely sort-of...
I wasn't referring particularly to DP, but to any kind of issue.monkey man wrote: As for your incredible offer, how could we possibly verify that the running of the "repair" was responsible should DP run perfectly?
You'll be relieved(!) to know that MLI is working on a Scatopultâ„¢, Stoivo. Mightn't reach the moon, but we're lookin' at a very, very long throw, mate.bayswater wrote:My suggestion is we just keep barking at the moon, or flinging poo at the moon (monkeys only please).
That will be perfect. Remember, it must be ineffective.monkey man wrote:Mightn't reach the moon, but we're lookin' at a very, very long throw, mate.
So here's what I don't understand. Why when I ran this command, did I get the following:stratology wrote:The supposed workaround sudo /usr/libexec/repair_packages starts with 'sudo', this is why it cannot execute successfully: under El Cap, the root user has no privileges to modify anything in /System and other system relevant folders (details linked above).
So even if the command finds 'incorrect' permissions (this is allowed when you use sudo, because it only reads file properties), they cannot be repaired, because sudo does not give the command sufficient privileges to change system files.
Were any of the files where permissions were supposed to be changed in /System, /bin, /sbin or /usr? These are the system file locations I was referring to.Phil O wrote:So here's what I don't understand. Why when I ran this command, did I get the following:stratology wrote:The supposed workaround sudo /usr/libexec/repair_packages starts with 'sudo', this is why it cannot execute successfully: under El Cap, the root user has no privileges to modify anything in /System and other system relevant folders (details linked above).
So even if the command finds 'incorrect' permissions (this is allowed when you use sudo, because it only reads file properties), they cannot be repaired, because sudo does not give the command sufficient privileges to change system files.
1) It asks me for a password
2) The script runs
3) It finds permission errors (and in non-Apple files)
4) It reports correcting the errors
5) If I run the script a second time, the errors are gone (suggesting that it changed something)
Seems to me like it's executing successfully. Or am I missing something.![]()
Phil
Lemme get this straight, Phil: You're reminding me of my M.O.?bayswater wrote:That will be perfect. Remember, it must be ineffective.monkey man wrote:Mightn't reach the moon, but we're lookin' at a very, very long throw, mate.
I don't recall the locations. Some could have been in those locations as some were Apple files, but most were files from an install of DP.stratology wrote:Were any of the files where permissions were supposed to be changed in /System, /bin, /sbin or /usr? These are the system file locations I was referring to.
What was the original issue you were trying to resolve? Did executing the command resolve it?
Meaning, you didn't take any other steps, like a reboot?Phil O wrote:And yes, it solved the problem.