04-10-2019
And, of course, the access rights must allow the connection; BOTH the NFS share AND the protection mask on the directory itself.
So for testing only, you could set the rights on the shared directory to 777 and share the NFS handle '-o rw,root' to allow the incoming NFS mount request to get root rights. Dangerous to leave it like that but it will tell you something if it then works.
10 More Discussions You Might Find Interesting
1. AIX
Hello Everyone,
I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP.
I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Discussion started by: jlslhills
0 Replies
2. UNIX for Advanced & Expert Users
this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies
3. Solaris
Hi, How can i mount an NFS share on a solaris machine a filesystem ?
I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris.
Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies
4. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
5. Web Development
Hi,
I want to mount an NFS Shared folder on Windows XP to vxWorks.
There doesnt seem to be a problem with the sharing.
Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term:
hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies
6. Red Hat
When i tried to mount the nfs i see this error message
mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount
mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied
and the /etc/exports file in the host side looks like this
/remote/proj1 ... (12 Replies)
Discussion started by: srinathk
12 Replies
7. SCO
Hi! All,
I am trying to mount a NFS share on my FreeNAS system onto my SCO OpenServer 5.0.6. I get the following error:
mount: cannot mount /: Connection Refused (error 115)
Has anyone been able to do this? (3 Replies)
Discussion started by: trolley
3 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file
share -F nfs -o rw=server_name2,anon=0 /to_share
And then in the client(solaris 10) added the following command to mount the share
mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies
9. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
10. IP Networking
My customer has created a share on a Windows Server 2012 system and exported it as a NFS share.
I can mount the share on a SCO system, but I only have read/write access. So I am unable to list the contents of the share. It is as if the directories had 0666 permissions.
My customer says that this... (5 Replies)
Discussion started by: jgt
5 Replies
LEARN ABOUT MOJAVE
nfs_selinux
nfs_selinux(8) NFS SELinux Policy documentation nfs_selinux(8)
NAME
nfs_selinux - Security Enhanced Linux Policy for NFS
DESCRIPTION
Security Enhanced Linux secures the NFS server via flexible mandatory access control.
BOOLEANS
SELinux policy is customizable based on the least level of access required. SELinux can be configured to not allow NFS to share files. If
you want to share NFS partitions, and only allow read-only access to those NFS partitions, turn the nfs_export_all_ro boolean on:
setsebool -P nfs_export_all_ro 1
If you want to share files read/write you must set the nfs_export_all_rw boolean.
setsebool -P nfs_export_all_rw 1
These booleans are not required when files to be shared are labeled with the public_content_t or public_content_rw_t types. NFS can share
files labeled with the public_content_t or public_content_rw_t types even if the nfs_export_all_ro and nfs_export_all_rw booleans are off.
If you want to use a remote NFS server for the home directories on this machine, you must set the use_nfs_home_dirs boolean:
setsebool -P use_nfs_home_dirs 1
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), chcon(1), setsebool(8)
dwalsh@redhat.com 9 Feb 2009 nfs_selinux(8)