"Diskutil RepairPermissions /"

Posted:
in Genius Bar edited January 2014
How does the OS 'know" what the proper permissions should be?

Comments

  • Reply 1 of 3
    airslufairsluf Posts: 1,861member
  • Reply 2 of 3
    dobbydobby Posts: 797member
    If you set your umask you can change the 'proper' permissions for your process.



    The OS recognises when you have changed system file permissions. If you change the permissions for /usr/lib/libpam.1.0.dylib from 755 to 777 and try to telnet into you mac you should get an error saying something along the lines that /usr/lib/libpam.1.0.dylib has group write permission.

    I assume the login mechanism checks file permissions and if it changes it won't work.

    You can nearly kill an AIX or Solaris machine but chmod -R 777 /



    Dobby.
  • Reply 3 of 3
    It checks the Receipts folder for correct permissions of software installed by packages.
Sign In or Register to comment.