DescubreApple

Apple, Mac, iPhone, iPad

Industry

Repairing permissions

Today I woke up eager to find out everything I can about what repairing permissions consists of, and to get to know the inner workings of our system a little better. If you want to read it all, you know where to click…

What are permissions?

Our system, Mac OS X, is based on Unix, which means that every file or folder has distinct access characteristics, that is, they indicate what can and cannot be done with it, and also who can and cannot do it.

There are three basic permissions, and they can be combined with each other:

Read (r–) Read
Write (-w-) Write
Execute (–x) Exe

It is also necessary to differentiate between the different types of users:

Owner: The user who created the file, who has all privileges over it.
Group: If your user is an admin, it belongs to this group.
Others: Users who do not belong to any of the above.

Root: The Super User, the one with all the system privileges, able to access, modify and execute any file.
As a security measure, this user is not normally used, except at specific moments when it is necessary.
To access as root, if you are logged in as your user, you must log out, and on the selection screen choose “Other”, enter “root” as the name, and the password you set previously. Be careful when using root, since the whole security of the system can collapse, because anyone could modify absolutely everything in the system.

(*)Folder permissions take precedence over file permissions(*)

Problems with permissions

Here is the interesting part: many times when we have a problem with our Mac, at the software level of course, a typical response is to repair permissions. Here are the causes that can lead to problems with them.

Application installers -> Application installers that are not from Apple can set permissions incorrectly, which can lead to the application malfunctioning, so it may not work, restart, and many other things.

Power failure -> A power failure can lead to an error in permissions.

Modified by the user -> A user may modify them, and in doing so may make a mistake with the resulting failures.

How to fix permission problems

Repairing permissions does not need to be a routine maintenance task on our Macs, but from time to time there is no harm in doing it.
Taken from Apple’s documentation:

However, I have also read in several places that repairing permissions was completely unnecessary, and that it was only needed in earlier versions of the OS.

Disk Utility -> Mac OS gives us everything necessary to repair permissions without any difficulty: open Disk Utility, which is inside the Applications folder. Once open, select the hard drive you want to check and you have two options: either verify permissions, which will not repair anything and only reports the status, or repair, which verifies and repairs.

Onyx -> Currently it is the maintenance program I use. I find it quite complete with many options. You can download it from the link in different versions.
There are countless programs that do the same thing: DiskWarrior, iRepair, AppleJack, Cocktail and many more.

Source | Apple Documentation

CE

Carlos Esteban

I've had a Mac since Christmas 2007, and I haven't been able to part with it since. Besides writing at TengoUnMac, I have another blog, a personal one: <a href="http://www.enredado.es">Enredado</a> I invite you to stop by.

13 comments · Comment

13 comments

  1. Muchas gracias por este post! Ahora lo tengo un poco más claro…

    Yo tambien uso Onyx, aunque no sabia muy bien qué era eso de los permisos…

    Chao!!

  2. Muy buen Post. Yo utilizaba Techtool Pro Muy bueno también , pero me gusta mas Onyx

    Saludos!

  3. Hola a todos.

    Recomiendo iceClean, es versátil y puedes hacer un buen mantenimiento a OSX, además de reparar los permisos de los archivos. Saludos desde Venezuela.

  4. No tengo ningun tipo de privilegio para instalar nada en MI mac, que sera alguien me puede ayudar?

  5. al igual que mary yo tambien tengo problemas con mi iBook, no puedo instalar nada, al hacer click en el installer aparece en el dook y vuelve a desaparecer y no hace nada, se repararon los permisos del disco sin ningun proiblema pero sigo sin poder instalar ninguna aplicacion

  6. Buenos días
    he instalado Lion y el paquete de adobe CS5 y no se que he hecho q no me funciona nada. Me dice, entre otras cosas:
    Itunes – La carpeta de iTunes se encuentra en un disco bloqueado, o bien no dispone de privilegios de escritura sobre la misma
    Firefox – Ya hay abierta una copia de Ffx. Solo puede haber 1 abierta a la vez
    Tex Edit, Vista Previa- no se abre pero no sale doc y se queda cerrada
    Word- no puedo guardar
    Iphoto- La fototeca de Ihpoto esta bloqueada, se encuentran un disco bloqueado o bien no está autorizado a modificarla
    He perdido toda mi agenda y lon mensajes de Mail
    Google – se queda como si no hubiera red y Safari si funciona

    Mail no puede abrirse pq no dispone dispone de los permisos necesarios para modificar la carpeta en la q se guarda la inf. Mail almacena la info en Mac/Usuarios/man/libreria/mail

    Se q es algo de los permisos ya he reparado varias veces los permisos desde primera ayuda y he reiniciado tb varias veces. No puedo trabajar

    Necesito ayuda URGENTE

  7. Estimados, tengo una Unidad NAS, en la cual al pasar información de mi MAC a ella quedo una carpeta que cree con un archivo puntual, cuando veo la info de este archivo me dice en permisos: “dispone de acceso personalizado”, este archivo un .mkv, está dentro de una carpeta que se llama Series, cuando trato de eliminar el archivo me dice que no puedo porque no dispongo de permiso, y al trata de eliminar la carpeta con este archivo, se abre el cuadro de usuario ingreso mi contraseña, y me indica un error que no se puede borrar porque 1 archivo dentro de ella (el único archivo) no lo permite. Activé el root user, e hice login con este y aun así entrando a la unidad NAS no me permitió borrarlo, dándome los mismos errores.
    Estoy tratando a través de terminal, poder modificar los permisos pero aun no doy con como montar la unidad NAS o como legar a ella mediante los comandos.

    Alguien me podría ayudar?

    Muchas gracias.

  8. Pingback: como bajar de peso
  9. Pingback: rs-232 interface
🇬🇧 EN