Re: Accès à un 2ème DD interne / OpenSuse
Posté : mer. 22 mai 2019 14:20
Dernier message de la page précédente :
OK je vais essayer, où se trouve déjà fstab pour l'éditer ?
https://forum-francophone-linuxmint.fr/
https://forum-francophone-linuxmint.fr/viewtopic.php?f=15&t=13189
Dernier message de la page précédente :
OK je vais essayer, où se trouve déjà fstab pour l'éditer ?
Code : Tout sélectionner
chown -cR jean-luc:users /media/jean-luc/2c53d9de-7ea7-42ff-ab09-3b3a50a349dd
appartenance de '/media/jean-luc/2c53d9de-7ea7-42ff-ab09-3b3a50a349dd/lost+found' modifiée de root:root en jean-luc:users
appartenance de '/media/jean-luc/2c53d9de-7ea7-42ff-ab09-3b3a50a349dd' modifiée de root:root en jean-luc:usersCode : Tout sélectionner
UUID=2c53d9de-7ea7-42ff-ab09-3b3a50a349dd /stock ext4 defaults 0 0OK, à côté mais pas dedans donc ?cyrille a écrit : ↑mer. 22 mai 2019 17:59donc tu n'y touches pas mais tu crées tes dossiers à coté
Tu as mis un umask 0 0 0 dans ton fstab, sans doute à adapter pour des raisons de sécurités sauf si tu n'es pas parano. Ce umask de donnera des droit en 777 sur les dossiers et fichiers créées, peut être un 775 sera mieux approprié et dans ce cas un umask de 002
Code : Tout sélectionner
ragnarok@Fenrir:~$ ls -l /home
total 20
drwx------ 2 root root 16384 mai 20 14:43 lost+found
drwxr-xr-x 21 ragnarok ragnarok 4096 mai 22 17:52 ragnarokCode : Tout sélectionner
ragnarok@Fenrir:~$ ls -l /
...
drwx------ 2 root root 16384 mai 20 14:43 lost+found
drwxr-xr-x 3 root root 4096 mai 20 14:46 media
....Code : Tout sélectionner
ls -l /home
total 4
drwxr-xr-x 55 jean-luc users 4096 22 mai 18:02 jean-luc
jean-luc@Host-001:~> ls -l /
total 4
drwxr-xr-x 1 root root 1828 20 mai 17:51 bin
drwxr-xr-x 1 root root 976 22 mai 09:43 boot
drwxr-xr-x 20 root root 4420 22 mai 18:09 dev
drwxr-xr-x 1 root root 5496 22 mai 16:55 etc
drwxr-xr-x 3 root root 22 30 janv. 00:30 home
drwxr-xr-x 1 root root 2024 20 mai 17:50 lib
drwxr-xr-x 1 root root 2930 20 mai 17:50 lib64
drwxr-xr-x 1 root root 16 22 mai 15:32 media
drwxr-xr-x 1 root root 0 30 janv. 00:30 mnt
drwxr-xr-x 1 root root 52 8 févr. 10:00 opt
dr-xr-xr-x 293 root root 0 22 mai 16:57 proc
drwx------ 1 root root 454 22 mai 18:02 root
drwxr-xr-x 36 root root 960 22 mai 17:26 run
drwxr-xr-x 1 root root 3702 21 mai 17:47 sbin
drwxr-xr-x 4 jean-luc users 4096 22 mai 18:00 seconddisque
drwxr-xr-x 1 root root 0 30 janv. 00:30 selinux
drwxr-xr-x 1 root root 38 11 mars 16:06 srv
dr-xr-xr-x 13 root root 0 22 mai 16:57 sys
drwxrwxrwt 1 root root 3156 22 mai 18:15 tmp
drwxr-xr-x 1 root root 104 30 janv. 00:30 usr
drwxr-xr-x 1 root root 114 18 avril 10:00 var