Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
file eseguibili in /lib
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
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Oct 05, 2005 8:00 pm    Post subject: file eseguibili in /lib Reply with quote

solo oggi ho fatto caso ad un fatto che mi ha sconvolto
tutti i file in /lib hanno il bit di eseguibilità abilitato. c'è una spiegazione ragionevole per questo?
Back to top
View user's profile Send private message
grentis
Guru
Guru


Joined: 20 Jul 2004
Posts: 321

PostPosted: Wed Oct 05, 2005 8:06 pm    Post subject: Reply with quote

Probabilmente le librerie per essere utilizzate devono essere "eseguite"

Però se è una cazzata quella che ho detto non sgridarmiiii...per favoooreeeee!
:lol:
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Oct 05, 2005 8:10 pm    Post subject: Reply with quote

fai conto che ti abbia riversato contro un'infinità di insulti (è il pensiero che conta :wink: )

no, seriamente... le librerie non devono essere eseguite.
casomai si può eseguire /lib/libc.so.6; in alcuni casi può essere utile conoscerne l'output, ma è l'unico caso, che io sappia.
tant'è vero che altre distribuzioni GNU/Linux quel bit non è abilitato.

sono tremendamente perplesso
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Oct 05, 2005 8:48 pm    Post subject: Reply with quote

k.gothmog wrote:
tant'è vero che altre distribuzioni GNU/Linux quel bit non è abilitato.


Interessante... non mi ero mai posto il problema.

Chissá se il bit é abilitato in fase di installazione dall'autore del pacchetto oppure forzato dall'ebuild...
_________________
Ciao da me!
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Wed Oct 05, 2005 8:55 pm    Post subject: Reply with quote

Quote:

Chissá se il bit é abilitato in fase di installazione dall'autore del pacchetto oppure forzato dall'ebuild...


Ho guardato un po' di ebuild che forniscono librerie e non vedo nessun chmod +x... rimane sempre il dubbio sull'utilita' di questo...

Quote:
Unfortunately file permissions are lost when copying libraries this way which is why the chmod +x command is then used to set the execute flag on all of the libraries on the rootdisk.


Cercando su google ho visto che spesso in creazione di ambienti chroot si imposta l'eseguibilita' delle librerie... boh!
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Oct 06, 2005 8:43 am    Post subject: Reply with quote

Interessante... finora non l'avevo notato... Effettibamente Debian non ha il bit di eseguibilità sulle librerie...
Prova a postare un bug report e guarda cosa ti rispondono...
Effettivamente la cosa è strana...
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Oct 06, 2005 8:55 am    Post subject: Reply with quote

debian non ce l'ha ma fedora si. il mistero si infittisce!
Su freebsd sono ancora più restrittivi: -r--r--r--
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Thu Oct 06, 2005 11:41 am    Post subject: Reply with quote

che mi ricordi, con un canonico "./configure ; make" gli shared objects sono già +x
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Oct 06, 2005 1:20 pm    Post subject: Re: file eseguibili in /lib Reply with quote

ho fatto un esperimento con metodo altamente scientifico.
ho rimosso il bit di eseguibilità a tutto. risultato non funzionava più una togna :(

cambierò approccio. inizierò a documentarmi :)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Oct 06, 2005 8:06 pm    Post subject: Re: file eseguibili in /lib Reply with quote

k.gothmog wrote:
ho rimosso il bit di eseguibilità a tutto. risultato non funzionava più una togna :(


Che errore dava?
Hai provato a riabilite l'esecuzione selettivamente in presenza di errore sulla lib mano mano che apparivano gli errori?
_________________
Ciao da me!
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Oct 06, 2005 8:09 pm    Post subject: Re: file eseguibili in /lib Reply with quote

qualunque comando restituiva permission denied.
ho riavviato con LiveCD (che avevo in parte pronto all'uso perché me l'aspettavo :D ) e ho rimesso tutto a posto.
secondo me non avrei dovuto rimuovere l'eseguibilità a /lib/libc.so.6: io credo che quella debba essere eseguibile obbligatoriamente.

quando avrò tempo proverò
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