Office 2008: Correcting the permission issues /corriger le soucis avec les permissions

As you might or might not know, it has been reported that the Office installer for Office 2008 installs a lot of files with the wrong permissions (ID 502, giving access to the files to non-admin users).

Microsoft is aware of the problem and is working on it. They also provided a workaround for people who want it (if you’re admin and there is no non-administrator account on your Mac, you don’t need this — it’s only to prevent non-admins to do anything to these files)

1) launch the Terminal application from the /Applications/Utilities
folder
2) type the following command as one line and press return:
/usr/bin/sudo /bin/chmod -R a-st "/Applications/Microsoft Office 2008" "/Library/Automator" "/Library/Fonts/Microsoft" "/Library/Application Support/Microsoft"
3) enter your administrator password when prompted
4) then enter the following command (still, on one line):
/usr/bin/sudo /usr/sbin/chown -h -R root:admin "/Applications/Microsoft Office 2008" "/Library/Automator" "/Library/Fonts/Microsoft" "/Library/Application Support/Microsoft"
5) You might not have to enter your administrator password this time. That’s it!

This will change the ownership to the affected files to the administrator group.
The command assumes that you haven’t moved any of the files to a different location of course.

(the procedure is now described here)


Certains sites ont dernièrement rapporté que l’installateur pour Office 2008 installe un certain nombre de fichiers avec des permissions incorrectes. ça n’empêche pas l’application de fonctionner, mais ces fichiers sont accessibles par tous les utilisateurs (avec une ID 502 — au lieu de n’être modifiables que par les administrateurs).

Microsoft est au courant du soucis est travail à un correctif. Ils ont aussi indiqué comment corriger le soucis manuellement si vous en avez besoin (si vous êtes administrateur sur votre machine et si vous n’avez pas d’autres utilisateurs non administrateurs, vous n’en avez aucune utilité… c’est uniquement pour interdire toute modification de ces fichiers aux non-administateurs)

1) Lancez le Terminal depuis /Applications/Utilitaires
folder
2) Entrez la commande suivante sur une seule ligne et pressez Retour :
/usr/bin/sudo /bin/chmod -R a-st "/Applications/Microsoft Office 2008" "/Library/Automator" "/Library/Fonts/Microsoft" "/Library/Application Support/Microsoft"
3) Votre mot de passe administrateur vous est alors demandé et vous n’avez plus qu’à le rentrer
4) Entrez ensuite cette nouvelle commande (toujours sur une seule ligne) :
/usr/bin/sudo /usr/sbin/chown -h -R root:admin "/Applications/Microsoft Office 2008" "/Library/Automator" "/Library/Fonts/Microsoft" "/Library/Application Support/Microsoft"
5) il se peut que cette fois-ci votre mot de passe ne vous soit pas demandé. C’est fini…

Tous les fichiers affectés appartiendront alors au groupe administrateur, interdisant toute modification aux autres types d’utilisateur.
La commande est écrite en partant du principe que vous n’avez pas déplacé le dossier d’installation d’Office 2008 ou les autres fichiers listés bien sûr.

(la procédure est maintenant décrite en anglais ici)