Salut la compagnie
J'ai avancé un peu et vu que -je sais pas trop comment - j'avais réussi ma manip pour le disque externe, j'ai essayé de fair pareil pour la partition /Volumes/Montage du Mac
J'ai essayé de suivre des conseils donnés dans ce post:
http://forum.ubuntu-fr.org/viewtopic.php?id=153898
J'ai décoché la case "ignorer les autorisations du volume" et puis j'ai mis pour tout le monde (enfin là où c'était possible) autorisation de ire/écrire.
Voici quelques données
sur Mac Os X:
Last login: Tue Mar 4 23:23:58 on ttys000
power-mac-g5-de-vincent:~ vince$ ls -al /Volumes
total 24
drwxrwxrwt@ 8 root admin 272 4 mar 23:10 .
drwxrwxr-t 33 root admin 1190 3 mar 20:01 ..
-rw-rw-rw-@ 1 vince admin 6148 23 fév 19:01 .DS_Store
drwxr-xrwx 13 vince vince 510 3 mar 19:25 LaCie
lrwxr-xr-x 1 root admin 1 4 mar 23:10 MAC OS -> /
drwxrwxrwx 17 vince 501 646 4 mar 23:26 Montage
drwxr-xr-x@ 28 root wheel 1020 22 fév 11:26 eDrive
drwxrwxrwx 11 1000 1000 442 4 mar 21:48 utilsateur
power-mac-g5-de-vincent:~ vince$ ls -al /Volumes/Montage
total 152
drwxrwxrwx 17 vince 501 646 4 mar 23:26 .
drwxrwxrwt@ 8 root admin 272 4 mar 23:10 ..
-rwxrwxrwx@ 1 vince 501 15364 4 mar 23:11 .DS_Store
drwxrwxrwx@ 8 vince vince 272 20 fév 19:09 .Spotlight-V100
drwxrwxrwx@ 4 vince 501 136 7 jan 11:50 .TemporaryItems
drwxrwxrwx@ 3 vince admin 102 4 mar 23:10 .Trashes
-rwxrwxrwx 1 vince 501 0 16 déc 18:17 .com.apple.timemachine.supported
drwxrwxrwx 28 vince 501 952 4 mar 23:21 .fseventsd
drwxrwxrwx@ 4 vince 501 136 3 mar 16:50 DVD Studio Pro files
-rwxrwxrwx@ 1 vince 501 41472 9 fév 02:36 Desktop DB
-rwxrwxrwx@ 1 vince 501 16322 17 déc 08:12 Desktop DF
drwxrwxrwx@ 6 vince 501 204 5 aoû 2006 Final Cut Pro Documents
drwxrwxrwx@ 7 vince 501 238 3 mar 19:03 Sauvegarde
drwxrwxrwx@ 9 vince 501 306 3 mar 16:19 Torrent
drwxrwxrwx 12 vince 501 408 3 mar 19:10 a_graver
power-mac-g5-de-vincent:~ vince$ ls -al /Volumes/Montage/a_graver
total 37506208
drwxrwxrwx 12 vince 501 408 3 mar 19:10 .
drwxrwxrwx 17 vince 501 646 4 mar 23:26 ..
-rwxrwxrwx@ 1 vince 501 12292 3 mar 19:10 .DS_Store
drwxrwxrwx 16 vince vince 544 3 mar 16:43 Animations
drwxrwxrwx 5 vince vince 170 15 jan 14:59 bou
-rwxrwxrwx 1 vince vince 631142781 12 avr 2007 Pirates graffiti is not dead.mpg
drwxrwxrwx@ 3 vince vince 102 9 jan 13:08 Regarde à Vue
-rwxrwxrwx@ 1 vince vince 4644995072 6 fév 19:44 bou.toast
-rwxrwxrwx@ 1 vince vince 4636180480 7 fév 00:28 bou4.toast
-rwxrwxrwx@ 1 vince vince 4638801920 7 fév 12:42 bou.toast
-rwxrwxrwx@ 1 vince vince 4652040192 7 fév 13:28 bou.toast
drwxrwxrwx@ 13 vince vince 442 12 fév 14:09 bou
power-mac-g5-de-vincent:~ vince$ id
uid=502(vince) gid=502(vince) groups=502(vince),98(_lpadmin),80(admin)
On voit qu'à l'intérieur de la partition les uid et gid ne sont pas homongènes.
L'uid de vince étant 502, j'ai créé un utilisateur test:test (uid=502, gid=502)
sous Ubuntu:
test@G5ubuntu:~$ id
uid=502(test) gid=502(test) groupes=4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),46(plugdev),111(scanner),502(test)
Sous Ubuntu, l'utilisateur test (502) est bien assimilé au vince de mac, mais les irrégularités sont toujours présentes:
test@G5ubuntu:~$ ls -al /media/Montage
total 24660
drwxrwxrwx 1 test 501 19 2008-03-04 23:26 .
drwxr-xr-x 7 root root 4096 2008-03-04 23:34 ..
drwxrwxrwx 1 test 501 12 2008-03-03 19:10 a_graver
-rwxrwxrwx 1 test 501 0 2007-12-16 18:17 .com.apple.timemachine.supported
-rwxrwxrwx 1 test 501 41472 2008-02-09 02:36 Desktop DB
-rwxrwxrwx 1 test 501 16322 2007-12-17 08:12 Desktop DF
-rwxrwxrwx 1 test 501 15364 2008-03-04 23:30 .DS_Store
drwxrwxrwx 1 test 501 4 2008-03-03 16:50 DVD Studio Pro files
drwxrwxrwx 1 test 501 6 2006-08-05 00:14 Final Cut Pro Documents
drwxrwxrwx 1 test 501 28 2008-03-04 23:21 .fseventsd
dr-xr-xr-t 1 root root 2 2006-08-02 13:18 .HFS+ Private Directory Data?
---------- 1 99 99 25165824 2008-03-03 16:56 .journal
---------- 1 99 99 4096 2008-03-03 16:56 .journal_info_block
drwxrwxrwx 1 test 501 7 2008-03-03 19:03 Sauvegarde
drwxrwxrwx 1 test 99 8 2008-02-20 19:09 .Spotlight-V100
drwxrwxrwx 1 test 501 4 2008-01-07 11:50 .TemporaryItems
drwxrwxrwx 1 test 501 9 2008-03-03 16:19 Torrent
drwxrwxrwx 1 test 80 2 2008-03-04 23:30 .Trashes
test@G5ubuntu:~$ ls -al /media/Montage/a_graver
total 18753104
drwxrwxrwx 1 test 501 12 2008-03-03 19:10 .
drwxrwxrwx 1 test 501 19 2008-03-04 23:26 ..
drwxrwxrwx 1 test 99 16 2008-03-03 16:43 Animations
-rwxrwxrwx 1 test 501 12292 2008-03-03 19:10 .DS_Store
drwxrwxrwx 1 test 99 5 2008-01-15 14:59 bou
-rwxrwxrwx 1 test 99 631142781 2007-04-12 19:05 Pirates graffiti is not dead.mpg
drwxrwxrwx 1 test 99 3 2008-01-09 13:08 Regarde à Vue
-rwxrwxrwx 1 test 99 4644995072 2008-02-06 19:44 bou.toast
-rwxrwxrwx 1 test 99 4636180480 2008-02-07 00:28 bou.toast
-rwxrwxrwx 1 test 99 4638801920 2008-02-07 12:42 bou.toast
-rwxrwxrwx 1 test 99 4652040192 2008-02-07 13:28 bou.toast
drwxrwxrwx 1 test 99 13 2008-02-12 14:09 bou
J'avais pris soin de modifier le fstab, pour que le volume /dev/sdb3 soit monté dans /media/Montage:
voici la ligne concernée:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sdb3 /media/Montage hfsplus user,force,rw,uid=502,gid=502 0 0
Du coup, au final, il y a des fichiers que je peux bien modifier sur Ubuntu comme sur Os X, mais le problème de gestions des droits se pose toujours sous certains fichiers, et puis pour cette histoire de groupes en 501
Je me dis que peut-être ce qu'il faudrait c'est modifier l'équivalent du fstab de mac pour que Volumes/Montage se monte avec u=502,g=502, mais ça... je ne sais pas comment le faire.
Si vous avez d'autres suggestions à faire, je vous en remercie.
j'imagine que ce problème de lecture/écriture en hfs+ doit en irriter plus d'un, non?:mad:
Florian