Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[FICHIERS] Permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
marc.driver
Guru
Guru


Joined: 16 Nov 2003
Posts: 346
Location: Nantes - Bretagne / Brittany

PostPosted: Sun Dec 26, 2004 10:42 pm    Post subject: [FICHIERS] Permissions Reply with quote

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? :?:


Last edited by marc.driver on Mon Dec 27, 2004 8:33 am; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Dec 26, 2004 11:01 pm    Post subject: Reply with quote

change les droits en console avec chown et chmod !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sun Dec 26, 2004 11:27 pm    Post subject: Reply with quote

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 :)
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
Pachacamac
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1264
Location: Paris - France

PostPosted: Mon Dec 27, 2004 1:02 am    Post subject: Reply with quote

Peut-être que les droits donnés par défaut ne sont pas corrects. mais bon...
Back to top
View user's profile Send private message
marc.driver
Guru
Guru


Joined: 16 Nov 2003
Posts: 346
Location: Nantes - Bretagne / Brittany

PostPosted: Mon Dec 27, 2004 9:37 am    Post subject: Reply with quote

Merci pour la fiche, je potasse, j'essaye et je reviens.
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Mon Dec 27, 2004 9:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Pachacamac
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1264
Location: Paris - France

PostPosted: Mon Dec 27, 2004 10:23 am    Post subject: Reply with quote

Ca arrive souvent de se faire avoir avec ça. Faut juste bien penser à ce que l'on fait. Et faire attention ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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