{"id":1221,"date":"2025-06-05T14:43:36","date_gmt":"2025-06-05T13:43:36","guid":{"rendered":"https:\/\/workboot.fr\/ciela\/?page_id=1221"},"modified":"2025-07-03T19:25:48","modified_gmt":"2025-07-03T18:25:48","slug":"octale-binaire","status":"publish","type":"page","link":"https:\/\/workboot.fr\/ciela\/octale-binaire\/","title":{"rendered":"Octale binaire"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">on retrouve la notation octale avec la fonction chmod (unix\/linux)<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>convertir 10 en binaire  et en octal<\/summary>\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>D\u00e9cimal<\/th><th>Binaire (group\u00e9 par 3 bits)<\/th><th>Octal<\/th><\/tr><\/thead><tbody><tr><td>10<\/td><td>001 010<\/td><td>12<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>convertir 25 en binaire  et en octal<\/summary>\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>D\u00e9cimal<\/th><th>Binaire (group\u00e9 par 3 bits)<\/th><th>Octal<\/th><\/tr><\/thead><tbody><tr><td>25<\/td><td>000 110 001<\/td><td>31<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>convertir 64 en binaire  et en octal<\/summary>\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>D\u00e9cimal<\/th><th>Binaire (group\u00e9 par 3 bits)<\/th><th>Octal<\/th><\/tr><\/thead><tbody><tr><td>64<\/td><td>001 000 000<\/td><td>100<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>convertir 100 en binaire  et en octal<\/summary>\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>D\u00e9cimal<\/th><th>Binaire (group\u00e9 par 3 bits)<\/th><th>Octal<\/th><\/tr><\/thead><tbody><tr><td>100<\/td><td>001 100 100<\/td><td>144<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>convertir 255 en binaire  et en octal<\/summary>\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>D\u00e9cimal<\/th><th>Binaire (group\u00e9 par 3 bits)<\/th><th>Octal<\/th><\/tr><\/thead><tbody><tr><td>255<\/td><td>000 111 111 111<\/td><td>377<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/details>\n\n\n\n<h2 class=\"wp-block-heading\">Avec la commande chmod<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>etudiant@ordi:~\/Works\/TP0_LINUX$ ls -lh\ntotal 12K\n-rw-rw-r-- 1 etudiant etudiant 19 juil.  2 18:36 bonjour.txt\n-rw-rw-r-- 1 etudiant etudiant 65 juil.  3 12:54 Hello\n-rw-rw-r-- 1 etudiant etudiant 84 juil.  3 19:04 lesdeux<\/code><\/pre>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>extrait du man chmod<\/summary>\n<p class=\"wp-block-paragraph\">CHMOD(1) Commandes de l&rsquo;utilisateur CHMOD(1)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NOM<br>chmod &#8211; Modifier les bits de comportement de fichier<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SYNOPSIS<br>chmod [OPTION]\u2026 MODE[,MODE]\u2026 FICHIER\u2026<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#cf2e2e\" class=\"has-inline-color\">chmod [OPTION] \u2026 MODE-OCTAL FICHIER \u2026<\/mark><br>chmod [OPTION] \u2026 &#8211;reference=FICHIER-R FICHIER \u2026<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DESCRIPTION<br>Cette page de manuel documente la version GNU du programme chmod. Le programme chmod modifie les bits de comportement de fichier de chacun<br>des fichiers indiqu\u00e9s, en suivant l&rsquo;indication de mode, qui peut \u00eatre une repr\u00e9sentation symbolique des changements \u00e0 effectuer ou un<br>nombre octal repr\u00e9sentant le motif binaire des nouveaux bits de comportement.<\/p>\n<\/details>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod 777 fichier<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">sachant que le premier 7  est pour me propri\u00e9taire du fichier  (owner) (bruno)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">le 7 suivant le groupe (ici groupe bruno)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">et le dernier 7 les autres (other) en plus du group et propri\u00e8taire<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ce 7 en octal donne en binaire 111   , donc simplement Read  \/ Write \/ eXecutable<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">avec ces droits  tout le monde peut lire, \u00e9crire et ex\u00e9cuter le fichier si c&rsquo;est possible bien \u00e9videmment.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -l\n-rwxrwxrwx   1 bruno bruno         5  5 juin  15:47  fichier\n<\/code><\/pre>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Donner la commande pour autoriser le fichier en lecture que pour le propri\u00e9taire<\/summary>\n<p class=\"wp-block-paragraph\">chmod 400 fichier<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Donner la commande que le propri\u00e9taire puisse lire \u00e9crire , ne pas ex\u00e9cuter , rien pour le groupe, et juste en lecture pour pour les autres. <\/summary>\n<p class=\"wp-block-paragraph\">chmod 604 fichier<\/p>\n<\/details>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>on retrouve la notation octale avec la fonction chmod (unix\/linux) Avec la commande chmod sachant que le premier 7 est pour me propri\u00e9taire du fichier (owner) (bruno) le 7 suivant [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-1221","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Octale binaire - workboot<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/workboot.fr\/ciela\/octale-binaire\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Octale binaire - workboot\" \/>\n<meta property=\"og:description\" content=\"on retrouve la notation octale avec la fonction chmod (unix\/linux) Avec la commande chmod sachant que le premier 7 est pour me propri\u00e9taire du fichier (owner) (bruno) le 7 suivant [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/workboot.fr\/ciela\/octale-binaire\/\" \/>\n<meta property=\"og:site_name\" content=\"workboot\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-03T18:25:48+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/octale-binaire\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/octale-binaire\\\/\",\"name\":\"Octale binaire - workboot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\"},\"datePublished\":\"2025-06-05T13:43:36+00:00\",\"dateModified\":\"2025-07-03T18:25:48+00:00\",\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/workboot.fr\\\/ciela\\\/octale-binaire\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"name\":\"workboot\",\"description\":\"Open Source, Open Minds \",\"publisher\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\",\"name\":\"workboot\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"contentUrl\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"width\":1024,\"height\":950,\"caption\":\"workboot\"},\"image\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Octale binaire - workboot","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/workboot.fr\/ciela\/octale-binaire\/","og_locale":"fr_FR","og_type":"article","og_title":"Octale binaire - workboot","og_description":"on retrouve la notation octale avec la fonction chmod (unix\/linux) Avec la commande chmod sachant que le premier 7 est pour me propri\u00e9taire du fichier (owner) (bruno) le 7 suivant [&hellip;]","og_url":"https:\/\/workboot.fr\/ciela\/octale-binaire\/","og_site_name":"workboot","article_modified_time":"2025-07-03T18:25:48+00:00","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/workboot.fr\/ciela\/octale-binaire\/","url":"https:\/\/workboot.fr\/ciela\/octale-binaire\/","name":"Octale binaire - workboot","isPartOf":{"@id":"https:\/\/workboot.fr\/ciela\/#website"},"datePublished":"2025-06-05T13:43:36+00:00","dateModified":"2025-07-03T18:25:48+00:00","inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/workboot.fr\/ciela\/octale-binaire\/"]}]},{"@type":"WebSite","@id":"https:\/\/workboot.fr\/ciela\/#website","url":"https:\/\/workboot.fr\/ciela\/","name":"workboot","description":"Open Source, Open Minds ","publisher":{"@id":"https:\/\/workboot.fr\/ciela\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/workboot.fr\/ciela\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/workboot.fr\/ciela\/#organization","name":"workboot","url":"https:\/\/workboot.fr\/ciela\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/","url":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","contentUrl":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","width":1024,"height":950,"caption":"workboot"},"image":{"@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/workboot.fr\/ciela\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"on retrouve la notation octale avec la fonction chmod (unix\/linux) Avec la commande chmod sachant que le premier 7 est pour me propri\u00e9taire du fichier (owner) (bruno) le 7 suivant [&hellip;]","_links":{"self":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/1221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/comments?post=1221"}],"version-history":[{"count":6,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/1221\/revisions"}],"predecessor-version":[{"id":1915,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/1221\/revisions\/1915"}],"wp:attachment":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/media?parent=1221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}