Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MAN funziona da root e non da utente [SOLVED: gruppo man]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
akiross
Veteran
Veteran


Joined: 02 Mar 2003
Posts: 1170
Location: Mostly on google.

PostPosted: Sat Jan 08, 2005 12:47 pm    Post subject: MAN funziona da root e non da utente [SOLVED: gruppo man] Reply with quote

Salve

ho un problema - ormai da un po' di tempo - con man. Mi scuso perche' non ricordo cosa posso aver fatto per combinare questo casino.

Sostanzialmente: a volte (solo per alcune pagine) quando richiamo man mi chiede se voglio cancellare delle pagine dicendo che sono corrotte.
La stessa pagina di man, pero', da root viene vista benissimo. Il punto e' che alcune pagine vanno e altre no.

Code:

akiross@tallon4 akiross $ man printf
Formatting page, please wait...

Code:

akiross@tallon4 akiross $ man locate
rm: remove write-protected regular empty file `/var/cache/man/cat1/locate.1.bz2'? n
Formatting page, please wait...
sh: line 1: /var/cache/man/cat1/locate.1.bz2: Permission denied
Error executing formatting or display command.
System command (cd /usr/share/man && (echo ".pl 1100i"; /bin/gunzip -c '/usr/share/man/man1/locate.1.gz'; echo; echo ".pl \n(nlu+10") | /usr/bin/gtbl | /usr/bin/nroff -Tlatin1 -c -mandoc | /bin/bzip2 > /var/cache/man/cat1/locate.1.bz2) exited with status 1.
rm: remove write-protected regular empty file `/var/cache/man/cat1/locate.1.bz2'? n

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Success
        Input file = /var/cache/man/cat1/locate.1.bz2, output file = (stdout)
 
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
 
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Code:

root@tallon4 akiross # man locate
Formatting page, please wait...


Non riesco a capire perche' :| Avete qualche idea? Io ora guardo i permessi ma non credo (perche' alcune si e altre no?) pero' non mi viene in mente altro.

[EDIT]
I permessi sembrano non centrare... la lettura e' concessa a tutti.

Non ho idea del motivo :\

Grazie
ciauz
_________________
Libera scienza in libero stato.
Horizon of Events


Last edited by akiross on Sat Jan 08, 2005 1:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
zUgLiO
l33t
l33t


Joined: 12 Aug 2003
Posts: 754
Location: Ferrara (Italy)

PostPosted: Sat Jan 08, 2005 12:55 pm    Post subject: Reply with quote

Prova ad aggiungere il tuo utente al gruppo man
_________________

voglio poi dire che il tempo mi avrà fatto abituare,

ma io non trovo nemmeno brutta la stiva buia di questa nave
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sat Jan 08, 2005 12:58 pm    Post subject: Re: MAN funziona da root e non da utente Reply with quote

akiross wrote:
I permessi sembrano non centrare... la lettura e' concessa a tutti.


Parli di /usr/man/man1/locate.1.gz oppure della pagina formattate in cache /var/cache/man/cat1/locate.1.bz2 :?:
_________________
Ciao da me!
Back to top
View user's profile Send private message
akiross
Veteran
Veteran


Joined: 02 Mar 2003
Posts: 1170
Location: Mostly on google.

PostPosted: Sat Jan 08, 2005 1:09 pm    Post subject: Re: MAN funziona da root e non da utente Reply with quote

randomaze wrote:
akiross wrote:
I permessi sembrano non centrare... la lettura e' concessa a tutti.


Parli di /usr/man/man1/locate.1.gz oppure della pagina formattate in cache /var/cache/man/cat1/locate.1.bz2 :?:


Prima mi riferivo a quella in /var/cache, ma comunque vedo che anche /usr/man/man1/locate.1.gz (che e' un link 777 a slocate) e' leggibile da tutti.


In ogni caso aveva ragione zuglio, per ora sembra andare mettendo l'utente nel gruppo man (mi scuso, credevo di averlo gia invece ho controllato e non c'era... magari un etc-update non mergiato bene). Se mi da problemi (ma non credo) posto qui

Grazie
ciauz!
_________________
Libera scienza in libero stato.
Horizon of Events
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Jan 09, 2005 2:58 pm    Post subject: Reply with quote

Ma io non ho l'utente nel gruppo man e non ho mai avuto i tuoi problemi
Code:
$ groups
tty wheel floppy audio cdrom video games usb users

C'è qualcuno che saprebbe spiegare il motivo?
Back to top
View user's profile Send private message
akiross
Veteran
Veteran


Joined: 02 Mar 2003
Posts: 1170
Location: Mostly on google.

PostPosted: Sun Jan 09, 2005 4:33 pm    Post subject: Reply with quote

Eh gia, neanche io lo avevo (cio' nonostante in man dovrebbe esserci comunque, teoricamente).

Onestamente non so spiegarmelo visto che le pagine di man comunque erano leggibili da tutti...

Sorry
_________________
Libera scienza in libero stato.
Horizon of Events
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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