Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ emerge ] Permision Denied [Errno 13] (résolu)
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
Flav
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 95
Location: FRANCE /Montpellier

PostPosted: Tue Nov 14, 2006 2:02 pm    Post subject: [ emerge ] Permision Denied [Errno 13] (résolu) Reply with quote

salut à tous,
j'ai un petit soucis sur l'installation de plusieurs paquets, je me retrouve sans avoir les droits comme :
Quote:

# emerge =dev-cpp/commoncpp2-1.5.1-r1
...
...

>>> /usr/include/cc++/export.h
Traceback (most recent call last):
File "/usr/bin/emerge", line 4620, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 4615, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4077, in action_build
retval = mergetask.merge(
File "/usr/bin/emerge", line 2513, in merge
prev_mtimes=ldpath_mtimes)
File "/usr/lib/portage/pym/portage.py", line 3221, in doebuild
vartree=vartree, prev_mtimes=prev_mtimes)
File "/usr/lib/portage/pym/portage.py", line 3426, in merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/usr/lib/portage/pym/portage.py", line 6859, in merge
cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/usr/lib/portage/pym/portage.py", line 6480, in treewalk
if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6616, in mergeme
mydmode = os.lstat(mydest).st_mode
OSError: [Errno 13] Permission denied: '/usr/include/cc++/strchar.h'


Quote:

# ls -l /usr/include/cc++/
ls: ne peut accéder /usr/include/cc++/strchar.h: Permission non accordée
ls: ne peut accéder /usr/include/cc++/pointer.h: Permission non accordée
ls: ne peut accéder /usr/include/cc++/digest.h: Permission non accordée
...
?????????? ? ? ? ? ? common.h
?????????? ? ? ? ? ? config.h
?????????? ? ? ? ? ? counter.h
?????????? ? ? ? ? ? digest.h
?????????? ? ? ? ? ? exception.h
-rw-r--r-- 1 root root 2395 nov 14 14:19 export.h

ou encore :
Quote:

#emerge gnome-vfs
...
...
...
>> /usr/lib64/gnome-vfs-2.0/modules/libnetwork.a
Traceback (most recent call last):
File "/usr/bin/emerge", line 4620, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 4615, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4114, in action_build
retval = mergetask.merge(pkglist, favorites, mtimedb)
File "/usr/bin/emerge", line 2513, in merge
prev_mtimes=ldpath_mtimes)
File "/usr/lib/portage/pym/portage.py", line 3221, in doebuild
vartree=vartree, prev_mtimes=prev_mtimes)
File "/usr/lib/portage/pym/portage.py", line 3426, in merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/usr/lib/portage/pym/portage.py", line 6859, in merge
cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/usr/lib/portage/pym/portage.py", line 6480, in treewalk
if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6733, in mergeme
join(offset, x), cfgfiledict, thismtime):
File "/usr/lib/portage/pym/portage.py", line 6616, in mergeme
mydmode = os.lstat(mydest).st_mode
OSError: [Errno 13] Permission denied: '/usr/lib64/gnome-vfs-2.0/modules/libfile.a'


Quote:

s -l /usr/lib64/gnome-vfs-2.0/modules/
ls: ne peut accéder /usr/lib64/gnome-vfs-2.0/modules/libfile.a: Permission non accordée
ls: ne peut accéder /usr/lib64/gnome-vfs-2.0/modules/libftp.la: Permission non accordée
ls: ne peut accéder /usr/lib64/gnome-vfs-2.0/modules/libnetwork.la: Permission non accordée
ls: ne peut accéder /usr/lib64/gnome-vfs-2.0/modules/libnetwork.so: Permission non accordée


Quote:

?????????? ? ? ? ? ? libtar.so
-rw-r--r-- 1 root root 228996 avr 18 2006 libtheme-method.a
-rwxr-xr-x 1 root root 2547 avr 18 2006 libtheme-method.la
-rwxr-xr-x 1 root root 132080 avr 18 2006 libtheme-method.so
?????????? ? ? ? ? ? libvfs-test.a
?????????? ? ? ? ? ? libvfs-test.la
?????????? ? ? ? ? ? libvfs-test.so



Comment cela se fait-il que je me retrouve avec des droits/propriétaire "????" ?
et que cela n'est y pas que sur ce repertoire.
Avant d'appliquer des droits à la volée je préfere vous demandez conseil.
Merci d'avance.

[EDIT resolution ]
-> LIVE CD Gentoo
-> # reiserfsck --check /dev/sdaX
-> # reiserfsck --rebuild-tree /dev/sdaX

- Les droits sont revenues etc.



Flav


Last edited by Flav on Tue Nov 14, 2006 4:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Magic Banana
Veteran
Veteran


Joined: 13 Dec 2005
Posts: 1912
Location: Belo Horizonte, Minas Gerais, Brasil

PostPosted: Tue Nov 14, 2006 2:35 pm    Post subject: Reply with quote

Plus que les droits, le problème est que ces fichiers n'ont ni propriétaire ni groupe !

Tu n'aurais pas touché à /etc/group des fois (pour y supprimer des entrées ou seulement y modifier des identifiants)?

À ta place j'essaierais de recompiler les logiciels qui possèdent ces fichiers...
Back to top
View user's profile Send private message
Flav
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 95
Location: FRANCE /Montpellier

PostPosted: Tue Nov 14, 2006 3:13 pm    Post subject: Reply with quote

Salut merci d'avoir répondu,
Non je n'ai jamais touché à /etc/group, et le problème est que je ne peux pas les recompilés car lorsque la compilation est fini que les erreurs arrivent !

Flav
Back to top
View user's profile Send private message
_droop_
l33t
l33t


Joined: 30 May 2004
Posts: 957

PostPosted: Tue Nov 14, 2006 3:17 pm    Post subject: Reply with quote

Salut,

Tu as testé ton système de fichiers ?

Par ce que là non seulement, il n'arrive pas à trouver les propiétaire mais en plus il ne voit pas les droits.

Tu as regardé dans dmesg si tu n'avais pas de chose bizarre ?

Bon courage.
Back to top
View user's profile Send private message
Magic Banana
Veteran
Veteran


Joined: 13 Dec 2005
Posts: 1912
Location: Belo Horizonte, Minas Gerais, Brasil

PostPosted: Tue Nov 14, 2006 3:20 pm    Post subject: Reply with quote

Je crois que tu vas avoir droit à une recompilation de tout ton système à coup de :
Code:
# emerge -e system


Attend tout de même un peu. Quelqu'un de plus fûté que moi pourrait passer par là...
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Tue Nov 14, 2006 3:46 pm    Post subject: Reply with quote

A lire : https://forums.gentoo.org/viewtopic-t-514872-highlight-permission+denied.html

EDIT : À lire ici, et tu peux même continuer la discussion avec la question de Genone :
Quote:
What are the permissions of /usr/share/doc?


Encore ici

etcetcetc.

EDIT 2 : Fait voir ton fstab stp.

EDIT 3 : pour mémo :
Quote:
If you want to keep the user option, just add exec after it, so that /etc/fstab will be
Code:

/dev/hda8 /home xfs noatime,user,exec 0 2

_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Flav
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 95
Location: FRANCE /Montpellier

PostPosted: Tue Nov 14, 2006 4:32 pm    Post subject: Reply with quote

Yop, merci d'avoir répondu
j'ai ma partition racine de type reiserfs

j'ai lancé à partir du livecd :

# reiserfsck --check /dev/sda8
puis
# reiserfsck --rebuild-tree /dev/sdaX

et au reboot tout est revenu dans l'ordre.

La question qui me vient c'est à cause de quoi je me suis retrouvé avec des blocks défectueux?

Merci

Flav
Back to top
View user's profile Send private message
Magic Banana
Veteran
Veteran


Joined: 13 Dec 2005
Posts: 1912
Location: Belo Horizonte, Minas Gerais, Brasil

PostPosted: Tue Nov 14, 2006 5:41 pm    Post subject: Reply with quote

[troll]
Flav wrote:
La question qui me vient c'est à cause de quoi je me suis retrouvé avec des blocks défectueux?


Flav wrote:
j'ai ma partition racine de type reiserfs

[/troll]
Back to top
View user's profile Send private message
CryoGen
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1426
Location: Bamako - Mali - Afrique

PostPosted: Tue Nov 14, 2006 7:00 pm    Post subject: Reply with quote

Magic Banana wrote:
[troll]
Flav wrote:
La question qui me vient c'est à cause de quoi je me suis retrouvé avec des blocks défectueux?

Flav wrote:
j'ai ma partition racine de type reiserfs

[/troll]

:lol:

Arret brutal de l'ordinateur ?
_________________
- CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword...
Back to top
View user's profile Send private message
Flav
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 95
Location: FRANCE /Montpellier

PostPosted: Tue Nov 14, 2006 7:26 pm    Post subject: Reply with quote

sa y'est vous avez vos +1 ;)
bon je sais que c'est pas bien mais il reste quand meme la question.
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