You are not logged in.

#1 2013-12-31 18:01:39

Creak
Member
Registered: 2013-10-23
Posts: 89

[SOLVED] Can't access NFS directories from my OUYA

Hi!

I might have forgotten something but I can't pinpoint what.
I've installed and set up the NFS services as explained in the wiki (https://wiki.archlinux.org/index.php/Nfs).

Here is my /etc/idmapd.conf (haven't edited it):

[General]

Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain

[Mapping]

Nobody-User = nobody
Nobody-Group = nobody

[Translation]

Method = nsswitch

And here is my /etc/exports:

# /etc/exports
#
# List of directories exported to NFS clients.  See exports(5).
# Use exportfs -arv to reread.
#
# Example for NFSv2 and NFSv3:
#  /srv/home       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
#  /srv/nfs4	   hostname1(rw,sync,fsid=0)
#  /srv/nfs4/home   hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
#  /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
#  /srv/nfs4/home   gss/krb5i(rw,sync,nohide)
#

/home/creak        *(rw,insecure,no_subtree_check,async)

I wanted to make it simple so I didn't have to wonder to much why it didn't work.
In the end, my OUYA recognize my computer, recognize that there is a /home/creak directory shared, but I can't get into it.
Maybe there is something to do with the user permissions? I don't know...

Could you help me?
Thanks

Last edited by Creak (2013-12-31 20:51:48)

Offline

#2 2013-12-31 20:51:31

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: [SOLVED] Can't access NFS directories from my OUYA

Ok I solved it!
I noticed that my /home/creak directory had no permission allowed for the "group" or for the "other".
Instead of making it accessible to everyone, I just changed my /etc/exports and exported only the directories I wanted (which have the proper permissions):

/home/creak/Vidéos   *(ro,insecure,all_squash,no_subtree_check)
/home/creak/Musique  *(ro,insecure,all_squash,no_subtree_check)

Offline

Board footer

Powered by FluxBB