"Diskutil RepairPermissions /"

Jump to First Reply
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
     0Likes 0Dislikes 0Informatives
  • 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.
     0Likes 0Dislikes 0Informatives
  • Reply 3 of 3
    It checks the Receipts folder for correct permissions of software installed by packages.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.