Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
elearning:workbooks:debian:10:junior:l108 [2022/05/17 08:16] – created adminelearning:workbooks:debian:10:junior:l108 [2024/03/08 08:31] (Version actuelle) admin
Ligne 1: Ligne 1:
 ~~PDF:LANDSCAPE~~ ~~PDF:LANDSCAPE~~
  
-Version : **2022.01**+Version : **2024.01**
  
 Dernière mise-à-jour : ~~LASTMOD~~ Dernière mise-à-jour : ~~LASTMOD~~
  
-======LCF503 - Gestion des Droits======+======LDF503 - Gestion des Droits======
  
 =====Contenu du Module===== =====Contenu du Module=====
  
-  * **LCF503 - Gestion des Droits**+  * **LDF503 - Gestion des Droits**
     * Contenu du Module     * Contenu du Module
     * Présentation     * Présentation
Ligne 42: Ligne 42:
  
 <code> <code>
-[root@centos8 ~]# exit+root@debian11:~# exit
 logout logout
-[trainee@centos8 ~]$ pwd+ 
 +trainee@debian11:~$ pwd
 /home/trainee /home/trainee
-[trainee@centos8 ~]$ touch tux.jpg + 
-[trainee@centos8 ~]$ ls -l | grep tux.jpg +trainee@debian11:~$ touch tux.jpg 
--rw-rw-r--1 trainee trainee   Apr 21 03:42 tux.jpg+ 
 +trainee@debian11:~$ ls -l | grep tux.jpg 
 +-rw-r--r-- 1 trainee sudo       Jun  5 16:32 tux.jpg
 </code> </code>
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** : Notez que le fichier créé est un fichier **texte**. En effet, Linux ne tient pas compte de l'extension **.jpg** **Important** : Notez que le fichier créé est un fichier **texte**. En effet, Linux ne tient pas compte de l'extension **.jpg**
 </WRAP> </WRAP>
Ligne 104: Ligne 107:
  
 <code> <code>
-[trainee@centos8 ~]$ chmod o+w tux.jpg +trainee@debian11:~$ chmod o+w tux.jpg 
-[trainee@centos8 ~]$ ls -l | grep tux.jpg + 
--rw-rw-rw-1 trainee trainee   Apr 21 03:42 tux.jpg+trainee@debian11:~$ ls -l | grep tux.jpg 
 +-rw-r--rw- 1 trainee sudo       Jun  5 16:32 tux.jpg
 </code> </code>
  
Ligne 112: Ligne 116:
  
 <code> <code>
-[trainee@centos8 ~]$ chmod ug-w tux.jpg +trainee@debian11:~$ chmod ug-w tux.jpg 
-[trainee@centos8 ~]$ ls -l | grep tux.jpg + 
--r--r--rw-1 trainee trainee   Apr 21 03:42 tux.jpg+trainee@debian11:~$ ls -l | grep tux.jpg 
 +-r--r--rw- 1 trainee sudo       Jun  5 16:32 tux.jpg
 </code> </code>
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** : Seul le propriétaire du fichier ou root peuvent modifier les permissions. **Important** : Seul le propriétaire du fichier ou root peuvent modifier les permissions.
 </WRAP> </WRAP>
Ligne 127: Ligne 132:
 {{free:fenestros_essentiels_img_12.jpg}} {{free:fenestros_essentiels_img_12.jpg}}
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** : Ainsi les droits rwx rwx rwx correspondent à un chiffre de 777. **Important** : Ainsi les droits rwx rwx rwx correspondent à un chiffre de 777.
 </WRAP> </WRAP>
Ligne 138: Ligne 143:
  
 <code> <code>
-[trainee@centos8 ~]$ chmod 644 tux.jpg +trainee@debian11:~$ chmod 644 tux.jpg 
-[trainee@centos8 ~]$ ls -l | grep tux.jpg + 
--rw-r--r--1 trainee trainee   Apr 21 03:42 tux.jpg+trainee@debian11:~$ ls -l | grep tux.jpg 
 +-rw-r--r-- 1 trainee sudo       Jun  5 16:32 tux.jpg
 </code> </code>
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** : Les droits d’accès par défaut lors de la création d’un objet sont : **Important** : Les droits d’accès par défaut lors de la création d’un objet sont :
 ^ Répertoires | rwx rwx rwx | 777 |  ^ Répertoires | rwx rwx rwx | 777 | 
 ^ Fichier normal | rw– rw– rw- | 666 | ^ Fichier normal | rw– rw– rw- | 666 |
 </WRAP> </WRAP>
- 
-==Options de la Commande== 
  
 Les options de cette commande sont : Les options de cette commande sont :
  
 <code> <code>
-[trainee@centos8 ~]$ chmod --help+trainee@debian11:~$ chmod --help
 Usage: chmod [OPTION]... MODE[,MODE]... FILE... Usage: chmod [OPTION]... MODE[,MODE]... FILE...
   or:  chmod [OPTION]... OCTAL-MODE FILE...   or:  chmod [OPTION]... OCTAL-MODE FILE...
Ligne 174: Ligne 178:
  
 GNU coreutils online help: <https://www.gnu.org/software/coreutils/> GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
-Full documentation at: <https://www.gnu.org/software/coreutils/chmod>+Full documentation <https://www.gnu.org/software/coreutils/chmod>
 or available locally via: info '(coreutils) chmod invocation' or available locally via: info '(coreutils) chmod invocation'
 </code> </code>
Ligne 185: Ligne 189:
  
 <code> <code>
-[trainee@centos8 ~]$ umask +trainee@debian11:~$ umask 
-0002 +0022 
-[trainee@centos8 ~]$ su - +trainee@debian11:~$ su - 
-Password: fenestros +Password:  
-[root@centos8 ~]# umask+root@debian11:~# umask
 0022 0022
-[root@centos8 ~]# exit+root@debian11:~# exit
 logout logout
 </code> </code>
Ligne 201: Ligne 205:
 avant de créer son fichier.  avant de créer son fichier. 
  
-<WRAP center round important 60%>+<WRAP center round important>
 umask sert à enlever des droits des droits maximaux : umask sert à enlever des droits des droits maximaux :
 ^ Masque maximum lors de la création d’un fichier | rw- rw- rw- | 666 | ^ Masque maximum lors de la création d’un fichier | rw- rw- rw- | 666 |
Ligne 211: Ligne 215:
  
 <code> <code>
-[trainee@centos8 ~]$ umask 044 +trainee@debian11:~$ umask 044
-[trainee@centos8 ~]$ touch tux1.jpg +
-[trainee@centos8 ~]$ ls -l | grep tux1.jpg +
--rw--w--w-. 1 trainee trainee   0 Apr 21 04:06 tux1.jpg +
-[trainee@centos8 ~]$ umask 002 +
-[trainee@centos8 ~]$ umask +
-0002 +
-</code>+
  
-==Options de la Commande==+trainee@debian11:~$ touch tux1.jpg 
 + 
 +trainee@debian11:~$ ls -l | grep tux1.jpg 
 +-rw--w--w- 1 trainee sudo       0 Jun  5 16:38 tux1.jpg 
 + 
 +trainee@debian11:~$ umask 022 
 + 
 +trainee@debian11:~$ umask 
 +0022 
 +</code>
  
 Les options de cette commande sont : Les options de cette commande sont :
  
 <code> <code>
-[trainee@centos8 ~]$ help umask+trainee@debian11:~$ help umask
 umask: umask [-p] [-S] [mode] umask: umask [-p] [-S] [mode]
     Display or set file mode mask.     Display or set file mode mask.
Ligne 236: Ligne 242:
          
     Options:     Options:
-      -p if MODE is omitted, output in a form that may be reused as input +      -p        if MODE is omitted, output in a form that may be reused as input 
-      -S makes the output symbolic; otherwise an octal number is output+      -S        makes the output symbolic; otherwise an octal number is output
          
     Exit Status:     Exit Status:
Ligne 245: Ligne 251:
 ====1.2 - Modifier le propriétaire ou le groupe==== ====1.2 - Modifier le propriétaire ou le groupe====
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** - Le changement de propriétaire d’un fichier se fait uniquement par l'administrateur système - root. **Important** - Le changement de propriétaire d’un fichier se fait uniquement par l'administrateur système - root.
 </WRAP> </WRAP>
Ligne 254: Ligne 260:
  
 <code> <code>
-[trainee@centos8 ~]$ su -+trainee@debian11:~$ su -
 Password: fenestros Password: fenestros
-[root@centos8 ~]# cd /home/trainee 
-[root@centos8 trainee]# chown root tux.jpg 
-[root@centos8 trainee]# ls -l | grep tux.jpg 
--rw-r--r--. 1 root    trainee   0 Apr 21 03:42 tux.jpg 
-</code> 
  
-==Options de la Commande==+root@debian11:~# cd /home/trainee 
 + 
 +root@debian11:/home/trainee# chown root tux.jpg 
 + 
 +root@debian11:/home/trainee# ls -l | grep tux.jpg 
 +-rw-r--r-- 1 root    sudo       0 Jun  5 16:32 tux.jpg 
 +</code>
  
 Les options de cette commande sont : Les options de cette commande sont :
  
 <code> <code>
-[root@centos8 trainee]# chown --help+root@debian11:/home/trainee# chown --help
 Usage: chown [OPTION]... [OWNER][:[GROUP]] FILE... Usage: chown [OPTION]... [OWNER][:[GROUP]] FILE...
   or:  chown [OPTION]... --reference=RFILE FILE...   or:  chown [OPTION]... --reference=RFILE FILE...
Ligne 315: Ligne 322:
  
 GNU coreutils online help: <https://www.gnu.org/software/coreutils/> GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
-Full documentation at: <https://www.gnu.org/software/coreutils/chown>+Full documentation <https://www.gnu.org/software/coreutils/chown>
 or available locally via: info '(coreutils) chown invocation' or available locally via: info '(coreutils) chown invocation'
 </code> </code>
Ligne 324: Ligne 331:
  
 <code> <code>
-[root@centos8 trainee]# chgrp root tux.jpg +root@debian11:/home/trainee# chgrp root tux.jpg 
-[root@centos8 trainee]# ls -l | grep tux.jpg + 
--rw-r--r--1 root    root      Apr 21 03:42 tux.jpg+root@debian11:/home/trainee# ls -l | grep tux.jpg 
 +-rw-r--r-- 1 root    root       Jun  5 16:32 tux.jpg
 </code> </code>
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** : Le droit de supprimer un fichier dépend des droits sur le répertoire dans lequel le fichier est stocké et non des droits du fichier lui-même. **Important** : Le droit de supprimer un fichier dépend des droits sur le répertoire dans lequel le fichier est stocké et non des droits du fichier lui-même.
 </WRAP> </WRAP>
- 
-==Options de la Commande== 
  
 Les options de cette commande sont : Les options de cette commande sont :
  
 <code> <code>
-[root@centos8 trainee]# chgrp --help+root@debian11:/home/trainee# chgrp --help
 Usage: chgrp [OPTION]... GROUP FILE... Usage: chgrp [OPTION]... GROUP FILE...
   or:  chgrp [OPTION]... --reference=RFILE FILE...   or:  chgrp [OPTION]... --reference=RFILE FILE...
Ligne 376: Ligne 382:
  
 GNU coreutils online help: <https://www.gnu.org/software/coreutils/> GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
-Full documentation at: <https://www.gnu.org/software/coreutils/chgrp>+Full documentation <https://www.gnu.org/software/coreutils/chgrp>
 or available locally via: info '(coreutils) chgrp invocation' or available locally via: info '(coreutils) chgrp invocation'
 </code> </code>
Ligne 387: Ligne 393:
  
 <code> <code>
-[root@centos8 trainee]# ls -l /etc/passwd /usr/bin/passwd +root@debian11:/home/trainee# ls -l /etc/passwd /usr/bin/passwd 
--rw-r--r--1 root root  2104 Apr 20 18:36 /etc/passwd +-rw-r--r-- 1 root root  2146 Jun  5 13:01 /etc/passwd 
--rwsr-xr-x1 root root 33600 Apr   2020 /usr/bin/passwd+-rwsr-xr-x 1 root root 63960 Feb   2020 /usr/bin/passwd
 </code> </code>
  
Ligne 416: Ligne 422:
  
 <code> <code>
-[root@centos8 trainee]# find / -type f \( -perm -4000 -o -perm -2000 \) -exec ls {} \; +root@debian11:/home/trainee# find / -type f \( -perm -4000 -o -perm -2000 \) -exec ls {} \; 
-find: ‘/proc/17916/task/17916/fdinfo/5’: No such file or directory +find: ‘/proc/27625/task/27625/fdinfo/6’: No such file or directory 
-find: ‘/proc/17916/fdinfo/6’: No such file or directory +find: ‘/proc/27625/fdinfo/5’: No such file or directory
-/usr/bin/chage +
-/usr/bin/gpasswd +
-/usr/bin/newgrp +
-/usr/bin/mount+
 /usr/bin/su /usr/bin/su
-/usr/bin/umount +/usr/bin/fusermount
-/usr/bin/write+
 /usr/bin/pkexec /usr/bin/pkexec
-/usr/bin/chfn+/usr/bin/dotlockfile 
 +/usr/bin/expiry
 /usr/bin/crontab /usr/bin/crontab
 /usr/bin/chsh /usr/bin/chsh
-/usr/bin/at+/usr/bin/mount
 /usr/bin/sudo /usr/bin/sudo
-/usr/bin/locate+/usr/bin/chage 
 +/usr/bin/umount 
 +/usr/bin/mlocate 
 +/usr/bin/chfn
 /usr/bin/passwd /usr/bin/passwd
-/usr/bin/fusermount +/usr/bin/write.ul 
-/usr/bin/screen +/usr/bin/gpasswd 
-/usr/sbin/grub2-set-bootflag+/usr/bin/ssh-agent 
 +/usr/bin/newgrp 
 +/usr/bin/wall 
 +/usr/bin/ntfs-3g 
 +/usr/libexec/polkit-agent-helper-1 
 +/usr/lib/x86_64-linux-gnu/utempter/utempter 
 +/usr/lib/dbus-1.0/dbus-daemon-launch-helper 
 +/usr/lib/openssh/ssh-keysign 
 +/usr/lib/xorg/Xorg.wrap
 /usr/sbin/unix_chkpwd /usr/sbin/unix_chkpwd
-/usr/sbin/pam_timestamp_check +/usr/sbin/pppd
-/usr/sbin/mount.nfs +
-/usr/lib/polkit-1/polkit-agent-helper-1 +
-/usr/libexec/dbus-1/dbus-daemon-launch-helper +
-/usr/libexec/utempter/utempter +
-/usr/libexec/openssh/ssh-keysign +
-/usr/libexec/cockpit-session +
-/usr/libexec/sssd/krb5_child +
-/usr/libexec/sssd/ldap_child +
-/usr/libexec/sssd/selinux_child +
-/usr/libexec/sssd/proxy_child +
-/usr/libexec/qemu-bridge-helper +
-/usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper+
 </code> </code>
  
Ligne 460: Ligne 461:
  
 <code> <code>
-[root@centos8 trainee]# cd /tmp +root@debian11:/home/trainee# cd /tmp 
-[root@centos8 tmp]# mkdir inherit + 
-[root@centos8 tmp]# chown root:trainee inherit +root@debian11:/tmp# mkdir inherit 
-[root@centos8 tmp]# chmod g+s inherit + 
-[root@centos8 tmp]# touch inherit/test.txt +root@debian11:/tmp# chown root:trainee inherit 
-[root@centos8 tmp]# mkdir inherit/testrep + 
-[root@centos8 tmp]# cd inherit; ls -l +root@debian11:/tmp# chmod g+s inherit 
-total 0 + 
-drwxr-sr-x2 root trainee 6 Apr 21 04:50 testrep +root@debian11:/tmp# touch inherit/test.txt 
--rw-r--r--1 root trainee 0 Apr 21 04:50 test.txt+ 
 +root@debian11:/tmp# mkdir inherit/testrep 
 + 
 +root@debian11:/tmp# cd inherit; ls -l 
 +total 4 
 +drwxr-sr-x 2 root trainee 4096 Jun  5 17:16 testrep 
 +-rw-r--r-- 1 root trainee    Jun  5 17:16 test.txt
 </code>  </code> 
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** : Notez que malgré le fait que root a créé les deux objets, ceux-ci ne sont pas associés avec le groupe **root** mais avec le groupe **trainee**, le groupe du répertoire parent (inherit). Notez aussi que le système a posé le drapeau d'héritage sur le sous-répertoire **testrep**. **Important** : Notez que malgré le fait que root a créé les deux objets, ceux-ci ne sont pas associés avec le groupe **root** mais avec le groupe **trainee**, le groupe du répertoire parent (inherit). Notez aussi que le système a posé le drapeau d'héritage sur le sous-répertoire **testrep**.
 </WRAP> </WRAP>
Ligne 489: Ligne 496:
  
 <code> <code>
-[root@centos8 inherit]# mkdir /tmp/repertoire_public; cd /tmp; chmod o+t repertoire_public +root@debian11:/tmp/inherit# mkdir /tmp/repertoire_public; cd /tmp; chmod o+t repertoire_public 
-[root@centos8 tmp]# ls -l | grep repertoire_public +root@debian11:/tmp# ls -l | grep repertoire_public 
-drwxr-xr-t2 root root            6 Apr 21 04:53 repertoire_public+drwxr-xr-t 2 root    root         4096 Jun  5 17:19 repertoire_public
 </code> </code>
  
Ligne 503: Ligne 510:
  
 <code> <code>
-[root@centos8 tmp]# getfacl /home/trainee/tux.jpg+root@debian11:/tmp# getfacl /home/trainee/tux.jpg
 getfacl: Removing leading '/' from absolute path names getfacl: Removing leading '/' from absolute path names
 # file: home/trainee/tux.jpg # file: home/trainee/tux.jpg
Ligne 516: Ligne 523:
  
 <code> <code>
-[root@centos8 tmp]# setfacl --set u::rwx,g::rx,o::-,u:trainee:rw /home/trainee/tux.jpg +root@debian11:/tmp# setfacl --set u::rwx,g::rx,o::-,u:trainee:rw /home/trainee/tux.jpg 
-[root@centos8 tmp]# getfacl /home/trainee/tux.jpg+ 
 +root@debian11:/tmp# getfacl /home/trainee/tux.jpg
 getfacl: Removing leading '/' from absolute path names getfacl: Removing leading '/' from absolute path names
 # file: home/trainee/tux.jpg # file: home/trainee/tux.jpg
Ligne 529: Ligne 537:
 </code> </code>
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** - Veuillez noter l'apparition de la ligne **mask**. Le mask indique les permissions maximales qui peuvent être acccordées à un utilisateur ou un groupe tiers. **Important** - Veuillez noter l'apparition de la ligne **mask**. Le mask indique les permissions maximales qui peuvent être acccordées à un utilisateur ou un groupe tiers.
 </WRAP> </WRAP>
Ligne 536: Ligne 544:
  
 <code> <code>
-[root@centos8 tmp]# mkdir /home/trainee/rep1+root@debian11:/tmp# mkdir /home/trainee/rep1
 </code> </code>
  
Ligne 542: Ligne 550:
  
 <code> <code>
-[root@centos8 tmp]# setfacl --set d:u::r,d:g::-,d:o::- /home/trainee/rep1+root@debian11:/tmp# setfacl --set d:u::r,d:g::-,d:o::- /home/trainee/rep1
 </code> </code>
  
Ligne 550: Ligne 558:
  
 <code> <code>
-[root@centos8 tmp]# touch /home/trainee/rep1/fichier1+root@debian11:/tmp# touch /home/trainee/rep1/fichier1
 </code> </code>
  
Ligne 556: Ligne 564:
  
 <code> <code>
-[root@centos8 tmp]# getfacl /home/trainee/rep1+root@debian11:/tmp# getfacl /home/trainee/rep1
 getfacl: Removing leading '/' from absolute path names getfacl: Removing leading '/' from absolute path names
 # file: home/trainee/rep1 # file: home/trainee/rep1
Ligne 568: Ligne 576:
 default:other::--- default:other::---
  
-[root@centos8 tmp]# getfacl /home/trainee/rep1/fichier1+root@debian11:/tmp# getfacl /home/trainee/rep1/fichier1
 getfacl: Removing leading '/' from absolute path names getfacl: Removing leading '/' from absolute path names
 # file: home/trainee/rep1/fichier1 # file: home/trainee/rep1/fichier1
Ligne 583: Ligne 591:
  
 <code> <code>
-[root@centos8 tmp]# cd /home/trainee/rep1 +root@debian11:/tmp# cd /home/trainee/rep1 
-[root@centos8 rep1]# getfacl -R --skip-base . > backup.acl + 
-[root@centos8 rep1]# cat backup.acl +root@debian11:/home/trainee/rep1# getfacl -R --skip-base . > backup.acl 
 + 
 +root@debian11:/home/trainee/rep1# cat backup.acl
 # file: . # file: .
 # owner: root # owner: root
Ligne 600: Ligne 610:
  
   # setfacl --restore=backup.acl [Entrée]   # setfacl --restore=backup.acl [Entrée]
- 
-==Options des Commandes=== 
  
 Les options de la commande **getfacl** sont : Les options de la commande **getfacl** sont :
  
 <code> <code>
-[root@centos8 tmp]# getfacl --help+root@debian11:/home/trainee/rep1# getfacl --help
 getfacl 2.2.53 -- get file access control lists getfacl 2.2.53 -- get file access control lists
 Usage: getfacl [-aceEsRLPtpndvh] file ... Usage: getfacl [-aceEsRLPtpndvh] file ...
Ligne 628: Ligne 636:
  
 <code> <code>
-[root@centos8 tmp]# setfacl --help+root@debian11:/home/trainee/rep1# setfacl --help
 setfacl 2.2.53 -- set file access control lists setfacl 2.2.53 -- set file access control lists
 Usage: setfacl [-bkndRLP] { -m|-M|-x|-X ... } file ... Usage: setfacl [-bkndRLP] { -m|-M|-x|-X ... } file ...
Ligne 665: Ligne 673:
 | A | La date et l'heure de dernier accès ne seront pas mises à jour | | A | La date et l'heure de dernier accès ne seront pas mises à jour |
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** - Un fichier synchrone et un répertoire synchrone impliquent que les modifications seront immédiatement inscrites sur disque. **Important** - Un fichier synchrone et un répertoire synchrone impliquent que les modifications seront immédiatement inscrites sur disque.
 </WRAP> </WRAP>
Ligne 678: Ligne 686:
  
 <code> <code>
-[root@centos8 rep1]# cd /root +root@debian11:/home/trainee/rep1# cd /root 
-[root@centos8 ~]# mkdir -p attributs/rep+ 
 +root@debian11:~# mkdir -p attributs/rep
 </code> </code>
  
Ligne 685: Ligne 694:
  
 <code> <code>
-[root@centos8 ~]# touch attributs/fichier +root@debian11:~# touch attributs/fichier 
-[root@centos8 ~]# touch attributs/rep/fichier1+ 
 +root@debian11:~# touch attributs/rep/fichier1
 </code> </code>
  
Ligne 692: Ligne 702:
  
 <code> <code>
-[root@centos8 ~]# chattr +i -R attributs/+root@debian11:~# chattr +i -R attributs/
 </code> </code>
  
Ligne 698: Ligne 708:
  
 <code> <code>
-[root@centos8 ~]# lsattr -R attributs +root@debian11:~# lsattr -R attributs 
-----i----------- attributs/rep+----i---------e------- attributs/rep
  
 attributs/rep: attributs/rep:
-----i----------- attributs/rep/fichier1+----i---------e------- attributs/rep/fichier1
  
-----i----------- attributs/fichier+----i---------e------- attributs/fichier
 </code> </code>
  
-<WRAP center round important 60%>+<WRAP center round important>
 **Important** - Notez que l'attribut **e** sous Ext4 indique l'utilisation des **Extents**. Cet attribut ne peut pas être enlever avec la commande **chattr**. Les Extents seront couverts dans le cours **Gestion des Disques, des Systèmes de Fichiers et le Swap**. **Important** - Notez que l'attribut **e** sous Ext4 indique l'utilisation des **Extents**. Cet attribut ne peut pas être enlever avec la commande **chattr**. Les Extents seront couverts dans le cours **Gestion des Disques, des Systèmes de Fichiers et le Swap**.
 </WRAP> </WRAP>
Ligne 714: Ligne 724:
  
 <code> <code>
-[root@centos8 ~]# cd attributs; mv /root/attributs/fichier /root/attributs/rep/fichier+root@debian11:~# cd attributs; mv /root/attributs/fichier /root/attributs/rep/fichier
 mv: cannot move '/root/attributs/fichier' to '/root/attributs/rep/fichier': Operation not permitted mv: cannot move '/root/attributs/fichier' to '/root/attributs/rep/fichier': Operation not permitted
 </code> </code>
  
 ----- -----
-Copyright © 2022 Hugh Norris.+Copyright © 2024 Hugh Norris.
Menu