View previous topic :: View next topic |
Author |
Message |
marc.driver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17189249593ff57e46b3bc1.gif)
Joined: 16 Nov 2003 Posts: 346 Location: Nantes - Bretagne / Brittany
|
Posted: Sun Dec 26, 2004 10:42 pm Post subject: [FICHIERS] Permissions |
|
|
Bonjour,
J'essaie d'installer un certain nombre de choses sur ma Gentoo toute fraiche.
Pour cela j'ai besoin d'écrire un certain nombre de choses dans un dossier que j'ai créé sous home.
Quand je veux enregistrer un fichier dedans, il me dit que je ne peux pas écrire dans ce répertoire.
Avec rox en session locale je ne peux pas changer les propriétés du répertoire.
Si je lance rox depuis une console sous root, il refuse de le lancer.
Comment puis-je faire? ![Question :?:](images/smiles/icon_question.gif)
Last edited by marc.driver on Mon Dec 27, 2004 8:33 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Dec 26, 2004 11:01 pm Post subject: |
|
|
change les droits en console avec chown et chmod ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosozoku Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13934668444220c81b48227.jpg)
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sun Dec 26, 2004 11:27 pm Post subject: |
|
|
Cette page devrait pouvoir t'aider si tu ne connais pas trop le fonctionnement de chmod : http://www.stationlinux.org/fiche.7.html
Mais retiens une chose. Les documents qui sont dans ton home t'appartienne, donc pas besoin d'etre en root pour changer les permissions ! Verifie tout de meme avec ls -l fichier, si il appartient à root alors un chown user fichier et c'est bon ![Smile :)](images/smiles/icon_smile.gif) _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pachacamac Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/64980873541e17d1288359.jpg)
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Mon Dec 27, 2004 1:02 am Post subject: |
|
|
Peut-être que les droits donnés par défaut ne sont pas corrects. mais bon... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marc.driver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17189249593ff57e46b3bc1.gif)
Joined: 16 Nov 2003 Posts: 346 Location: Nantes - Bretagne / Brittany
|
Posted: Mon Dec 27, 2004 9:37 am Post subject: |
|
|
Merci pour la fiche, je potasse, j'essaye et je reviens. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosozoku Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13934668444220c81b48227.jpg)
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Mon Dec 27, 2004 9:41 am Post subject: |
|
|
Mais attention, tu as créer un dossier dans home, c'est à dire ?
/home/dossier ?
Bah la tu l'as fait en root, donc il appartient à root.
Il suffit alors de faire un chown user -R /home/dossier/ pour que le dossier et tout ce qu'il ya dedans t'appartienne.
Mais c'est une mauvaise idée de faire ça, utilise au maximum ton répertoire utilisateur, il est fait pour ça. _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pachacamac Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/64980873541e17d1288359.jpg)
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Mon Dec 27, 2004 10:23 am Post subject: |
|
|
Ca arrive souvent de se faire avoir avec ça. Faut juste bien penser à ce que l'on fait. Et faire attention ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|