Menu
Forums
Nouveaux sujets
Chercher dans les forums
Quoi de neuf ?
Nouveaux sujets
Nouveaux messages de profil
Activité récente
MacGeneration
MacGeneration
iGeneration
WatchGeneration
Je veux le.top
iOccasion
RefurbGeneration
Connexion
S'inscrire
Rechercher
Rechercher par titre uniquement
Par:
Rechercher par titre uniquement
Par:
Rechercher
Rechercher par titre uniquement
Par:
Rechercher par titre uniquement
Par:
Menu
Forums
Forum Mac
macOS
Permissions des dossiers Applications et Utilitaires
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="macomaniac" data-source="post: 13044595" data-attributes="member: 1060554"><p>Tu peux toujours exclure à la fois le <strong><span style="font-family: 'Courier New'">signal.bom</span></strong> et le <strong><span style="font-family: 'Courier New'">signal.plist</span></strong> du dossier <strong><span style="font-family: 'Courier New'">receipt</span></strong> > passer la commande <strong><span style="font-family: 'Courier New'">sudo chmod -N /Applications</span></strong> pour vider l'<strong><span style="font-family: 'Courier New'">ACL</span></strong> du répertoirre <strong><span style="font-family: 'Courier New'">Applications</span></strong> > réparer les permissions par l'«<u>Utilititaire de Disque</u>» > repasser un : <strong><span style="font-family: 'Courier New'">ls -dale /Applications</span></strong> pour vérifier l'état des lieux.</p><p></p><p style="text-align: center">--------------------</p><p></p><p>Tu remarqueras effectivement dans le fichier <strong><span style="font-family: 'Courier New'">signal.plist</span></strong> la séquence suivante (j'ai détaché les segments) :</p><p style="margin-left: 20px"><p style="margin-left: 20px"><p style="margin-left: 20px">[code]<key>PathACLs</key></p> <p style="margin-left: 20px"><dict></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><key>Applications</key></p> <p style="margin-left: 20px"> <string>!#acl 1</p> <p style="margin-left: 20px"> user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity</p> <p style="margin-left: 20px"> user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity</p> <p style="margin-left: 20px"> user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity</p> <p style="margin-left: 20px"> user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity</p> <p style="margin-left: 20px"> </string></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><key>Applications/Safari.app</key></p> <p style="margin-left: 20px"> <string>!#acl 1</p> <p style="margin-left: 20px"> group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete</p> <p style="margin-left: 20px"> </string></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><key>Library</key></p> <p style="margin-left: 20px"> <string>!#acl 1</p> <p style="margin-left: 20px"> group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete</p> <p style="margin-left: 20px"> </string></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><key>System</key></p> <p style="margin-left: 20px"> <string>!#acl 1</p> <p style="margin-left: 20px"> group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete</p> <p style="margin-left: 20px"> </string></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"></dict>[/code]</p> </p> </p><p></p><p>=> tu as la clé principale <strong><span style="font-family: 'Courier New'">PathACLs</span></strong> (chemins des <strong><span style="font-family: 'Courier New'">ACLs</span></strong>) avec, encadrés par les balises <strong><span style="font-family: 'Courier New'"><dict></dict></span></strong> d'ouverture et de fermeture de ce "facteur commun", une série de 4 paramétrages <strong><span style="font-family: 'Courier New'">[clé > chaîne]</span></strong></p><p></p><p>Une clé (<strong><span style="font-family: 'Courier New'">key</span></strong>) désigne l'objet-cible > une chaîne (<strong><span style="font-family: 'Courier New'">string</span></strong>) la valeur à lui associer => les 2 marchent par paire et constituent un paramètre (par rapport à la clé principale <strong><span style="font-family: 'Courier New'"><key>PathACLs</key></span></strong>, les <strong><span style="font-family: 'Courier New'"><key> </key></span></strong> en facteur commun sont des sous-clés).</p><p></p><p style="margin-left: 20px"><u>1ère paire clé > chaîne </u>: objet = <strong><span style="font-family: 'Courier New'">Applications</span></strong> > valeur : associer à <strong><span style="font-family: 'Courier New'">remy</span></strong> 4 <strong><span style="font-family: 'Courier New'">ACE</span></strong> "mélioratives" identiques dans l'<strong><span style="font-family: 'Courier New'">ACL </span></strong>du répertoire = "<strong><span style="font-family: 'Courier New'">allow:write,append,writeattr,writeextattr,writesecurity</span></strong>"</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><u>2è paire clé > chaîne</u> : objet = <strong><span style="font-family: 'Courier New'">Safari.app</span></strong> > valeur : associer au groupe secondaire <strong><span style="font-family: 'Courier New'">everyone</span></strong> 1 <strong><span style="font-family: 'Courier New'">ACE</span></strong> restrictive "<strong><span style="font-family: 'Courier New'">deny delete</span></strong>" dans l'<strong><span style="font-family: 'Courier New'">ACL</span></strong> du bundle.</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><u>3è paire clé > chaîne</u> : objet = <strong><span style="font-family: 'Courier New'">Library</span></strong> > valeur : associer au groupe secondaire <strong><span style="font-family: 'Courier New'">everyone</span></strong> 1 <strong><span style="font-family: 'Courier New'">ACE</span></strong> restrictive "<strong><span style="font-family: 'Courier New'">deny delete</span></strong>" dans l'<strong><span style="font-family: 'Courier New'">ACL</span></strong> du répertoire.</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><u>4è paire clé > chaîne</u> : objet = <strong><span style="font-family: 'Courier New'">System</span></strong> > valeur : associer au groupe secondaire <strong><span style="font-family: 'Courier New'">everyone</span></strong> 1 <strong><span style="font-family: 'Courier New'">ACE</span></strong> restrictive "<strong><span style="font-family: 'Courier New'">deny delete</span></strong>" dans l'<strong><span style="font-family: 'Courier New'">ACL</span></strong> du répertoire.</p><p></p><p style="text-align: center">--------------------</p><p></p><p>=> pour ce qui est de l'<strong><span style="font-family: 'Courier New'">ACE</span></strong> "<strong><span style="font-family: 'Courier New'">everyone deny delete</span></strong>" > ça semble un classique (une "marotte", quoi) de la part des ingénieurs de la (passons...).</p><p></p><p>=> pour ce qui est de l'<strong><span style="font-family: 'Courier New'">ACE</span></strong> "<strong><span style="font-family: 'Courier New'">remy allow write,append,writeattr,writeextattr,writesecurity</span></strong>" > j'ai du mal à capturer sa raison d'être intrinsèque, <strong><span style="font-family: 'Courier New'">remy</span></strong> étant par ailleurs un <strong><span style="font-family: 'Courier New'">admin</span></strong> qui possède en tant que tel une permission <strong><span style="font-family: 'Courier New'">POSIX</span></strong> d'écriture (<strong><span style="font-family: 'Courier New'">write</span></strong>) sur l'espace du répertoire des <strong><span style="font-family: 'Courier New'">Applications</span></strong>. Pourquoi lui rajouter un "<strong><span style="font-family: 'Courier New'">allow write</span></strong>" en tant qu'<strong><span style="font-family: 'Courier New'">ACE</span></strong> personnelle ? Pourquoi les autres permissions secondaires ? Pourquoi <strong>4 fois</strong> la même <strong><span style="font-family: 'Courier New'">ACE</span></strong> à la suite ? [un « bêta » qui s'est amusé à rajouter une facétie dans une <em>bêta</em> ?]</p><p></p><p>Tu noteras d'ailleurs que ce n'est <u>pas exactement la même</u> <strong><span style="font-family: 'Courier New'">ACE</span></strong> que la première qui était : "<strong><span style="font-family: 'Courier New'">remy allow add_file,add_subdirectory,writeattr,writeextattr,writesecurity</span></strong>" > les 2 premières permissions étaient "<strong><span style="font-family: 'Courier New'">add_file,add_subdirectory</span></strong>" alors que dans le fichier <strong><span style="font-family: 'Courier New'">signal.plist</span></strong> (= instruction > archivée dans le <strong><span style="font-family: 'Courier New'">signal.bom</span></strong>) les 2 premières permissions sont : "<strong><span style="font-family: 'Courier New'">write,append</span></strong>".</p><p></p><p>Ce qui laisse penser qu'il doit y avoir quelque part ailleurs une autre paire <strong><span style="font-family: 'Courier New'">.plist</span></strong> > <strong><span style="font-family: 'Courier New'">.bom</span></strong> à incriminer. Tu as un dossier <strong><span style="font-family: 'Courier New'">receipts</span></strong> également dans la <strong><span style="font-family: 'Courier New'">/Library</span></strong> (Biblio Générale) et dans la <strong><span style="font-family: 'Courier New'">~/Library</span></strong> (Biblio Perso) en plus des <strong><span style="font-family: 'Courier New'">/System/Library</span></strong> et des <strong><span style="font-family: 'Courier New'">/private/var/db</span></strong>. Si tu rencontres des <strong><span style="font-family: 'Courier New'">.pkg</span></strong> > il y a des fichiers <strong><span style="font-family: 'Courier New'">.bom</span></strong> dans les paquets des <strong><span style="font-family: 'Courier New'">.pkg</span></strong>. «<u>Pacifist</u>» a une option pour rechercher les "reçus" relatifs à telle ou telle application.</p><p></p><p style="text-align: center">--------------------</p></blockquote><p></p>
[QUOTE="macomaniac, post: 13044595, member: 1060554"] Tu peux toujours exclure à la fois le [B][FONT=Courier New]signal.bom[/FONT][/B] et le [B][FONT=Courier New]signal.plist[/FONT][/B] du dossier [B][FONT=Courier New]receipt[/FONT][/B] > passer la commande [B][FONT=Courier New]sudo chmod -N /Applications[/FONT][/B] pour vider l'[B][FONT=Courier New]ACL[/FONT][/B] du répertoirre [B][FONT=Courier New]Applications[/FONT][/B] > réparer les permissions par l'«[U]Utilititaire de Disque[/U]» > repasser un : [B][FONT=Courier New]ls -dale /Applications[/FONT][/B] pour vérifier l'état des lieux. [CENTER]--------------------[/CENTER] Tu remarqueras effectivement dans le fichier [B][FONT=Courier New]signal.plist[/FONT][/B] la séquence suivante (j'ai détaché les segments) : [INDENT][INDENT][INDENT][code]<key>PathACLs</key> <dict> <key>Applications</key> <string>!#acl 1 user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity user:1267D804-BEA1-465F-B2C6-6D1AA5E80BF0:remy:503:allow:write,append,writeattr,writeextattr,writesecurity </string> <key>Applications/Safari.app</key> <string>!#acl 1 group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete </string> <key>Library</key> <string>!#acl 1 group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete </string> <key>System</key> <string>!#acl 1 group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete </string> </dict>[/code][/INDENT][/INDENT][/INDENT] => tu as la clé principale [B][FONT=Courier New]PathACLs[/FONT][/B] (chemins des [B][FONT=Courier New]ACLs[/FONT][/B]) avec, encadrés par les balises [B][FONT=Courier New]<dict></dict>[/FONT][/B] d'ouverture et de fermeture de ce "facteur commun", une série de 4 paramétrages [B][FONT=Courier New][clé > chaîne][/FONT][/B] Une clé ([B][FONT=Courier New]key[/FONT][/B]) désigne l'objet-cible > une chaîne ([B][FONT=Courier New]string[/FONT][/B]) la valeur à lui associer => les 2 marchent par paire et constituent un paramètre (par rapport à la clé principale [B][FONT=Courier New]<key>PathACLs</key>[/FONT][/B], les [B][FONT=Courier New]<key> </key>[/FONT][/B] en facteur commun sont des sous-clés). [INDENT][U]1ère paire clé > chaîne [/U]: objet = [B][FONT=Courier New]Applications[/FONT][/B] > valeur : associer à [B][FONT=Courier New]remy[/FONT][/B] 4 [B][FONT=Courier New]ACE[/FONT][/B] "mélioratives" identiques dans l'[B][FONT=Courier New]ACL [/FONT][/B]du répertoire = "[B][FONT=Courier New]allow:write,append,writeattr,writeextattr,writesecurity[/FONT][/B]" [U]2è paire clé > chaîne[/U] : objet = [B][FONT=Courier New]Safari.app[/FONT][/B] > valeur : associer au groupe secondaire [B][FONT=Courier New]everyone[/FONT][/B] 1 [B][FONT=Courier New]ACE[/FONT][/B] restrictive "[B][FONT=Courier New]deny delete[/FONT][/B]" dans l'[B][FONT=Courier New]ACL[/FONT][/B] du bundle. [U]3è paire clé > chaîne[/U] : objet = [B][FONT=Courier New]Library[/FONT][/B] > valeur : associer au groupe secondaire [B][FONT=Courier New]everyone[/FONT][/B] 1 [B][FONT=Courier New]ACE[/FONT][/B] restrictive "[B][FONT=Courier New]deny delete[/FONT][/B]" dans l'[B][FONT=Courier New]ACL[/FONT][/B] du répertoire. [U]4è paire clé > chaîne[/U] : objet = [B][FONT=Courier New]System[/FONT][/B] > valeur : associer au groupe secondaire [B][FONT=Courier New]everyone[/FONT][/B] 1 [B][FONT=Courier New]ACE[/FONT][/B] restrictive "[B][FONT=Courier New]deny delete[/FONT][/B]" dans l'[B][FONT=Courier New]ACL[/FONT][/B] du répertoire.[/INDENT] [CENTER]--------------------[/CENTER] => pour ce qui est de l'[B][FONT=Courier New]ACE[/FONT][/B] "[B][FONT=Courier New]everyone deny delete[/FONT][/B]" > ça semble un classique (une "marotte", quoi) de la part des ingénieurs de la (passons...). => pour ce qui est de l'[B][FONT=Courier New]ACE[/FONT][/B] "[B][FONT=Courier New]remy allow write,append,writeattr,writeextattr,writesecurity[/FONT][/B]" > j'ai du mal à capturer sa raison d'être intrinsèque, [B][FONT=Courier New]remy[/FONT][/B] étant par ailleurs un [B][FONT=Courier New]admin[/FONT][/B] qui possède en tant que tel une permission [B][FONT=Courier New]POSIX[/FONT][/B] d'écriture ([B][FONT=Courier New]write[/FONT][/B]) sur l'espace du répertoire des [B][FONT=Courier New]Applications[/FONT][/B]. Pourquoi lui rajouter un "[B][FONT=Courier New]allow write[/FONT][/B]" en tant qu'[B][FONT=Courier New]ACE[/FONT][/B] personnelle ? Pourquoi les autres permissions secondaires ? Pourquoi [B]4 fois[/B] la même [B][FONT=Courier New]ACE[/FONT][/B] à la suite ? [un « bêta » qui s'est amusé à rajouter une facétie dans une [I]bêta[/I] ?] Tu noteras d'ailleurs que ce n'est [U]pas exactement la même[/U] [B][FONT=Courier New]ACE[/FONT][/B] que la première qui était : "[B][FONT=Courier New]remy allow add_file,add_subdirectory,writeattr,writeextattr,writesecurity[/FONT][/B]" > les 2 premières permissions étaient "[B][FONT=Courier New]add_file,add_subdirectory[/FONT][/B]" alors que dans le fichier [B][FONT=Courier New]signal.plist[/FONT][/B] (= instruction > archivée dans le [B][FONT=Courier New]signal.bom[/FONT][/B]) les 2 premières permissions sont : "[B][FONT=Courier New]write,append[/FONT][/B]". Ce qui laisse penser qu'il doit y avoir quelque part ailleurs une autre paire [B][FONT=Courier New].plist[/FONT][/B] > [B][FONT=Courier New].bom[/FONT][/B] à incriminer. Tu as un dossier [B][FONT=Courier New]receipts[/FONT][/B] également dans la [B][FONT=Courier New]/Library[/FONT][/B] (Biblio Générale) et dans la [B][FONT=Courier New]~/Library[/FONT][/B] (Biblio Perso) en plus des [B][FONT=Courier New]/System/Library[/FONT][/B] et des [B][FONT=Courier New]/private/var/db[/FONT][/B]. Si tu rencontres des [B][FONT=Courier New].pkg[/FONT][/B] > il y a des fichiers [B][FONT=Courier New].bom[/FONT][/B] dans les paquets des [B][FONT=Courier New].pkg[/FONT][/B]. «[U]Pacifist[/U]» a une option pour rechercher les "reçus" relatifs à telle ou telle application. [CENTER]--------------------[/CENTER] [/QUOTE]
Insérer les citations…
Vérification
Publier votre réponse
Forums
Forum Mac
macOS
Permissions des dossiers Applications et Utilitaires
Haut
Bas