Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Qualche problema di permessi
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
salade
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 170

PostPosted: Thu Sep 29, 2005 9:25 pm    Post subject: [RISOLTO] Qualche problema di permessi Reply with quote

Ciao a tutti,
ancora una volta, ricorro a voi per una mano. Sono abbastanza incredulo, non capisco la seguente situazione:

Code:

www@bilbo ~/vhost/default/html $ uname -a
Linux bilbo 2.6.12-gentoo-r9 #1 SMP Sat Aug 27 15:39:14 CEST 2005 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux
www@bilbo ~/vhost/default/html $ mkdir scr
www@bilbo ~/vhost/default/html $ chmod 777 scr
www@bilbo ~/vhost/default/html $ pwd
/home/httpsd/vhost/default/html
www@bilbo ~/vhost/default/html $ ssh cod01@localhost
Last login: Thu Sep 29 23:28:39 2005 from localhost
cod01@bilbo ~ $ touch /home/httpsd/vhost/default/html/scr/a
touch: cannot touch `/home/httpsd/vhost/default/html/scr/a': Permission denied


Sono solamente stanco o c'è qualche cosa di strano? Non mi è mai successa una cosa del genere... Sugli altri server che gestisco non succede!
Boh... Vi ringrazio fin da ora se riuscite ad illuminarmi!

Buona notte
Stefano

PS: Se avete bisogno di altre info chiedete pure


Last edited by salade on Sat Oct 01, 2005 10:10 am; edited 1 time in total
Back to top
View user's profile Send private message
salade
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 170

PostPosted: Fri Sep 30, 2005 9:25 pm    Post subject: Reply with quote

Nessuna idea? :(
Back to top
View user's profile Send private message
bender86
Guru
Guru


Joined: 18 Mar 2005
Posts: 484

PostPosted: Sat Oct 01, 2005 9:30 am    Post subject: Re: Qualche problema di permessi Reply with quote

salade wrote:
Code:
touch: cannot touch `/home/httpsd/vhost/default/html/scr/a': Permission denied

Non potrebbe essere che una delle directory padre abbia dei permessi insufficienti? Ho fatto un paio di prove, e tutte le directory prima dovrebbero avere i permessi di esecuzione (cioè di accesso).
Back to top
View user's profile Send private message
salade
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 170

PostPosted: Sat Oct 01, 2005 10:10 am    Post subject: Re: Qualche problema di permessi Reply with quote

bender86 wrote:
Non potrebbe essere che una delle directory padre abbia dei permessi insufficienti? Ho fatto un paio di prove, e tutte le directory prima dovrebbero avere i permessi di esecuzione (cioè di accesso).

Era proprio questo... Sai che ero convinto che bastasse l'ultima cartella con rw per tutti per permettere la scrittura?
Grazie!
Back to top
View user's profile Send private message
Flonaldo
Guru
Guru


Joined: 21 Nov 2003
Posts: 572
Location: Bologna

PostPosted: Sat Oct 01, 2005 10:50 am    Post subject: Re: Qualche problema di permessi Reply with quote

Bastava un chmod -R 777 cosi era ricorsiva...
_________________
Odio un po' di meno gli uomini coi capelli rossi
La mia musica http://www.last.fm/user/Flonaldo/
Back to top
View user's profile Send private message
salade
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 170

PostPosted: Sat Oct 01, 2005 4:37 pm    Post subject: Re: Qualche problema di permessi Reply with quote

Flonaldo wrote:
Bastava un chmod -R 777 cosi era ricorsiva...

non mi sembra proprio il caso... Se hai notato era una cartella all'interno di una home di un utente!
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