View previous topic :: View next topic |
Author |
Message |
Omegal n00b
Joined: 26 Jul 2005 Posts: 67
|
Posted: Thu Nov 10, 2005 12:17 am Post subject: [Systeme] compte n'ayant pas droit au / (Résolu) |
|
|
Bonsoir a tous
Alors, j'ai réinstallé completement récemment mon pc, j'avais avant la réinstallation, une gentoo 2005.0, puis je suis passé a la version 2005.1, seulement, quand je monte mes partitions, mon compte utilisateur n'a pas acces a la partition racine, mais seulement a la partition home et les partitions FAT32, je ne sais pas comment faire pour que le compte normal puisse accéder a ces fichiers alors que le root y arrive bien entendu.
Voici mon fstab :
Code: | # grep -v \# /etc/fstab
/dev/hda2 /boot ext2 noauto,noatime 1 2
/dev/hda6 / ext3 noatime 0 1
/dev/hda5 /home ext3 noatime 0 1
/dev/hda1 none swap sw 0 0
/dev/hda4 /mnt/Windows vfat users,exec,gid=100,uid=1000,umask=0002,iocharset=iso8859-15 0 0
/dev/hdb1 /mnt/Sauvegarde vfat users,exec,gid=100,uid=1000,umask=0002,iocharset=iso8859-15 0 0
/dev/hdc1 /mnt/Telechargement vfat users,exec,gid=100,uid=1000,umask=0002,iocharset=iso8859-15 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/hdd /media/cdrecorder auto user,exec,noauto,managed 0 0
/dev/sda1 /media/USB_SLIM vfat user,exec,noauto,utf8,noatime,sync,managed 0 0 |
J'aimerais savoir comment faire pour ajouter cette option aux comptes utilisateurs normaux.
Et puis, deuxième chose, j'aimerais pouvoir afficher des icones (raccourcis) sur mon bureau pour les partitions fat32, quelle option je dois ajouter pour avoir ca?
Merci d'avance pour vos réponses et votre aide
Last edited by Omegal on Thu Nov 10, 2005 1:27 pm; edited 1 time in total |
|
Back to top |
|
|
Antares Apprentice
Joined: 04 Apr 2005 Posts: 184 Location: France
|
Posted: Thu Nov 10, 2005 12:35 am Post subject: |
|
|
Salut !
tes users appartiennent à quels groupes?
ca donne quoi un ls -l / chez toi? |
|
Back to top |
|
|
Omegal n00b
Joined: 26 Jul 2005 Posts: 67
|
Posted: Thu Nov 10, 2005 12:46 am Post subject: |
|
|
Salut, merci
Ca me donne ca :
Code: | # ls -l /
total 68
drwxr-xr-x 2 root root 4096 nov 5 05:40 bin
drwxr-xr-x 2 root root 4096 nov 4 01:41 boot
drwxr-xr-x 22 root root 19540 nov 7 00:11 dev
drwxr-xr-x 60 root root 4096 nov 7 00:11 etc
drwxr-xr-x 5 root root 4096 nov 5 14:57 home
drwxr-xr-x 8 root root 4096 nov 4 06:06 lib
drwx------ 2 root root 16384 nov 4 01:37 lost+found
drwxr-xr-x 4 root root 4096 nov 7 00:11 media
drwxr-xr-x 7 root root 4096 nov 4 20:49 mnt
drwxr-xr-x 7 root root 4096 nov 5 09:41 opt
dr-xr-xr-x 171 root root 0 nov 7 00:10 proc
drwx------ 13 root root 4096 nov 5 15:23 root
drwxr-xr-x 2 root root 4096 nov 4 06:36 sbin
drwxr-xr-x 10 root root 0 nov 7 00:10 sys
drwxrwxrwt 24 root root 4096 nov 7 01:34 tmp
drwxr-xr-x 16 root root 4096 nov 4 09:04 usr
drwxr-xr-x 13 root root 4096 nov 4 10:14 var |
Je dois peut etre donner d'autres droits, par exemple 0777, c'est ca? j'attends une réponse avant de faire une connerie lol |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Thu Nov 10, 2005 12:55 am Post subject: |
|
|
Omegal wrote: | Je dois peut etre donner d'autres droits, par exemple 0777, c'est ca? |
Non, 777 c'est un peu trop permissif.
Omegal wrote: | mon compte utilisateur n'a pas acces a la partition racine |
Qu'est-ce-que tu veux dire par là ? Il a forcément accès, sinon tu ne pourrais pas te logguer, tu ne pourrais pas lancer de programmes, ... Si c'est juste que "ls /" en user renvoie "permission denied", alors vérifie que tu as ça:
Code: | # ls -ld /
drwxr-xr-x 21 root root 560 Oct 20 22:49 / |
|
|
Back to top |
|
|
Omegal n00b
Joined: 26 Jul 2005 Posts: 67
|
Posted: Thu Nov 10, 2005 1:02 am Post subject: |
|
|
En fait, quand j'ouvre un program ou nautilus, il m'affiche une erreur sur la permission quand je vais dans le dossier racine /
Code: | Impossible d'affiche le contenu du dossier |
Donc j'ai exécuté ta commande, j'obtiens pas la même chose, voici le résultat :
Code: | $ ls -ld /
d-wxr----t 20 root root 4096 nov 4 18:31 / |
Mais je ne sais pas pourquoi j'ai eu ca, car j'ai bien suivi la procédure du tutorial pour installation gentoo 2005.1.
Donc je fais un chmod sur /? |
|
Back to top |
|
|
anigel Bodhisattva
Joined: 14 Apr 2003 Posts: 1894 Location: Un petit bled pas loin de Limoges ;-)
|
Posted: Thu Nov 10, 2005 6:56 am Post subject: |
|
|
Bonjour,
Urgemment :
Ca devrait aller mieux ensuite . _________________ Il y a 10 sortes d'individus en ce bas-monde : ceux qui causent binaire, et les autres. |
|
Back to top |
|
|
Omegal n00b
Joined: 26 Jul 2005 Posts: 67
|
Posted: Thu Nov 10, 2005 1:27 pm Post subject: |
|
|
Merci, c'était belle et bien le symptome
Le problème est résolu.
Encore un grand merci a tout le monde. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|