1833056 Members
2449 Online
110049 Solutions
New Discussion

NFS /etc/exports file

 
SOLVED
Go to solution
Asif_8
Regular Advisor

NFS /etc/exports file

Hi !

I want to export the filesytem. but I do not find out the /etc/exports file on server.
/etc/rc.config.d/nfsconf setting

NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0

ps -ef | root 1773 1754 0 Feb root 1773 1754 0 Feb 7 ? 0:00 /usr/sbin/nfsd 1
can I create /etc/exports file what is owner and group and permission


asif
6 REPLIES 6
DCE
Honored Contributor
Solution

Re: NFS /etc/exports file


Yes you can create it

owner root:sys

read write permissions for owner group world
Dennis Handly
Acclaimed Contributor

Re: NFS /etc/exports file

>DCE: read write permissions for owner group world

I seriously doubt you want read/write for ALL modes. In fact you can make it just read only, since root can always write to it.
skt_skt
Honored Contributor

Re: NFS /etc/exports file

644 would be best

-rw-r--r-- 1 root sys 705 Apr 13 2006 /etc/exports
Rasheed Tamton
Honored Contributor

Re: NFS /etc/exports file

Hi,

man exports

File /etc/exports describes the directories that can be exported to NFS clients. The system administrator creates it using a text editor.

You can create it as root.


#ll /etc/exports
-r--r--r-- 1 root sys


Rasheed Tamton.
Asif_8
Regular Advisor

Re: NFS /etc/exports file

Thanks all..
Robert Fritz
Regular Advisor

Re: NFS /etc/exports file

Also, don't forget to run exportfs -a afterwards.
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin