[Tecnica] RISOLTO - Montare NFS

Michele Pinassi o-zone a zerozone.it
Lun 11 Feb 2013 13:38:53 GMT


Grazie Szymon,

risolto ! Era l'opzione no_root_squash mancante :-)

Michele

On 11/02/2013 14:24, Szymon Tomasz Stefanek wrote:
> On 02/11/2013 10:41 AM, Michele Pinassi wrote:
>
>> root a proxy-voip01:~# ls /var/spool/asterisk/voicemail/voip.unisi.it/ -l
>> totale 8
>> drwxrwx--- 5 sshd bind 4096  7 feb 13.15 5001
>> drwxrwx--- 6 sshd bind 4096  7 feb 12.42 5008
>>
>> 'sshd' e 'bind' sono uid e gid del rispettivo owner sulla macchina
>> [server] (asterisk:asterisk).
> >
> > Ora io devo fare in modo di poter accedere a queste directory e
> > rispettivi files dal server web della macchina [client], che gira come
> > www-data:www-data.
>
> Questi uid:gid sono fissi? Se si, allora forse puoi aggiungere l'utente
> www-data al gruppo bind sulla macchina client?
>
> Perņ il fatto che un cd da root ti dia permission denied mi fa pensare
> che lato server l'uid 0 sia mappato a qualcosa altro. Forse hai attivo
> il root squashing. Prova l'opzione no_root_squash nel mount.
>
> http://www.troubleshooters.com/linux/nfs.htm#_Configure_the_NFS_Server
> (guarda la sezione User ID Mapping Options)
>


-- 
O-Zone ! No (C) since 1996
On the road with VFR VTec 2002 "Vuffy", on the net with Linux Slackware.
Home+BLOG @ http://www.zerozone.it - Travels @ http://www.openitaly.net



Maggiori informazioni sulla lista Tecnica