• =?utf-8?Q?Probl=C3=A8me_?=avec umask sur un disque NTFS

    From =?utf-8?Q?lists=2Edebian=40netc=2Ee@21:1/5 to All on Wed Nov 24 20:10:01 2021
    Bonjour à tous, Je reviens encore une fois vous demander de l'aide. J'ai un ordinateur dual boot Windows 10 / Debian 11. Ce PC possède 2 disques, une SSD avec les 2 systèmes et un HDD où sont les autres fichiers (documents, images, musique,...). Mon
    idée est de partager ce HDD entre Windows et Debian. Pour le faire, dans mon fichier fstab, j'ai rajouté la ligne suivante : UUID=ACB23705B236D414 /mnt/windows ntfs-3g defaults,umask=000 0 0 Les dossiers présents montent correctement dans le dossier /
    mnt/windows : $ ls -l /mnt/windows/ total 80 drwxrwxrwx 1 root root 4096 14 nov. 20:20 '$RECYCLE.BIN' drwxrwxrwx 1 root root 4096 24 nov. 15:59 CloudStation drwxrwxrwx 1 root root 4096 21 nov. 11:44 Documents -rwxrwxrwx 1 root root 8192 25 juin 08:15
    DumpStack.log.tmp drwxrwxrwx 1 root root 4096 22 nov. 20:41 Images drwxrwxrwx 1 root root 4096 24 nov. 11:53 Music drwxrwxrwx 1 root root 8192 23 nov. 06:21 'System Volume Information' drwxrwxrwx 1 root root 40960 21 nov. 22:22 Téléchargements
    drwxrwxrwx 1 root root 4096 21 nov. 19:44 Videos Tout y est et les permissions sont bien "rwxrwxrwx". Mon problème est dans le dossier Documents : $ ls -l /mnt/windows/Documents/ total 117 drwxrwxrwx 1 root root 16384 24 nov. 15:59 User1 -rwxrwxrwx 1
    root root 0 26 nov. 2020 Default.rdp -rwxrwxrwx 1 root root 432 11 mars 2021 desktop.ini dr-xr-xr-x 1 root root 40960 24 nov. 15:59 User2 drwxrwxrwx 1 root root 16384 24 nov. 16:00 Public drwxrwxrwx 1 root root 4096 24 nov. 15:59 User3 dr-xr-xr-x 1 root
    root 20480 21 nov. 12:05 Scan -rwxrwxrwx 1 root root 18432 4 déc. 2016 Thumbs.db drwxrwxrwx 1 root root 0 16 nov. 23:13 'Unified Remote' En comparant User1 avec User2, on voit bien que User1 a les mêmes permissions que Documents, mas User2 ne permets
    pas l'écriture, ce qui m'empêche de gérer ce dossier depuis Debian... Auriez-vous une idée de pourquoi les permissions de ces sous-dossiers ne sont pas les mêmes ? Je vous remercie par avance de vos retours, Cordialement, Marc

    <div>Bonjour à tous,&nbsp;</div>
    <div><br /></div>
    <div>Je reviens encore une fois vous demander de l'aide.&nbsp;</div>
    <div><br /></div>
    <div>J'ai un ordinateur dual boot Windows 10 / Debian 11.</div>
    <div><br /></div>
    <div>Ce PC possède 2 disques, une SSD avec les 2 systèmes et un HDD où sont les autres fichiers (documents, images, musique,...).&nbsp;</div>
    <div><br /></div>
    <div>Mon idée est de partager ce HDD entre Windows et Debian. Pour le faire, dans mon fichier fstab, j'ai rajouté la ligne suivante :</div>
    <div><br /></div>
    <div>
    <div class="geshicodebox code_root">
    <div class="root" style="font-family:monospace;"><span style="color: #007800;">UUID</span>=ACB23705B236D414 &nbsp; <span style="font-weight: bold;">/</span>mnt<span style="font-weight: bold;">/</span>windows &nbsp; &nbsp;ntfs-3g defaults,<span style="
    color: #007800;">umask</span>=000 &nbsp; &nbsp;0 &nbsp; 0</div>
    <div class="root" style="font-family:monospace;"><br /></div>
    <div class="root" style="font-family:monospace;">Les dossiers présents montent correctement dans le dossier /mnt/windows :</div>
    <div class="root" style="font-family:monospace;"><br /></div>
    <div class="root" style="font-family:monospace;">$ ls -l /mnt/windows/</div> <div class="root" style="font-family:monospace;">total 80</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 4096 14 nov. 20:20 '$RECYCLE.BIN'</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 4096 24 nov. 15:59 CloudStation</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 4096 21 nov. 11:44 Documents</div>
    <div class="root" style="font-family:monospace;">-rwxrwxrwx 1 root root 8192 25 juin 08:15 DumpStack.log.tmp</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 4096 22 nov. 20:41 Images</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 4096 24 nov. 11:53 Music</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 8192 23 nov. 06:21 'System Volume Information'</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 40960 21 nov. 22:22 Téléchargements</div>
    <div class="root" style="font-family:monospace;">drwxrwxrwx 1 root root 4096 21 nov. 19:44 Videos</div>
    <div class="root" style="font-family:monospace;">&nbsp;</div>
    </div>
    </div>
    <div>Tout y est et les permissions sont bien "rwxrwxrwx".&nbsp;</div>
    <div><br /></div>
    <div>Mon problème est dans le dossier Documents :</div>
    <div><br /></div>
    <div>$ ls -l /mnt/windows/Documents/</div>
    <div>total 117</div>
    <div>drwxrwxrwx 1 root root 16384 24 nov. 15:59 User1</div>
    <div>-rwxrwxrwx 1 root root 0 26 nov. 2020 Default.rdp</div>
    <div>-rwxrwxrwx 1 root root 432 11 mars 2021 desktop.ini</div>
    <div>dr-xr-xr-x 1 root root 40960 24 nov. 15:59 User2</div>
    <div>drwxrwxrwx 1 root root 16384 24 nov. 16:00 Public</div>
    <div>drwxrwxrwx 1 root root 4096 24 nov. 15:59 User3</div>
    <div>dr-xr-xr-x 1 root root 20480 21 nov. 12:05 Scan</div>
    <div>-rwxrwxrwx 1 root root 18432 4 déc. 2016 Thumbs.db</div>
    <div>drwxrwxrwx 1 root root 0 16 nov. 23:13 'Unified Remote'</div> <div>&nbsp;</div>
    <div>En comparant User1 avec User2, on voit bien que User1 a les mêmes permissions que Documents, mas User2 ne permets pas l'écriture, ce qui m'empêche de gérer ce dossier depuis Debian...&nbsp;</div>
    <div><br /></div>
    <div>Auriez-vous une idée de pourquoi les permissions de ces sous-dossiers ne sont pas les mêmes ?&nbsp;</div>
    <div><br /></div>
    <div>Je vous remercie par avance de vos retours,&nbsp;</div>
    <div><br /></div>
    <div>Cordialement,&nbsp;</div>
    <div>Marc</div>
    <div class="syno-mc-signature"></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)