Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NFS .- touch: cannot touch `test': Permission denied

djuarez2Aug 14 2013 — edited Aug 15 2013

I setup a NFS SERVER with Solaris 10, (note: Network is fine.. communication is excellent between server-client, both running NFS vers=4)

Please note my NFS Client server configuration. I am getting a Permission denied error message. I believe is one of the options that NFS handles when mounting remote filesystems.

I tried rw=hostname, rw=uid (i.e. rw=sftp), anon=sftp... in /etc/dfs/dfstab

Tried the following: (Any ideas?, Thx)

#share -F nfs -o anon=14 rw=@138.202.80.0/24,soft,proto=tcp -d "testing nfs" /export/local

#share -F nfs -o rw=138.202.80.167,rw=sftp,anon=sftp   -d "sftp account" /software

still getting permission denied error messages.

[test3@likewise-rhel63-sftponly ~]$ pwd

/home/test3

[test3@likewise-rhel63-sftponly ~]$ cd /software/

[test3@likewise-rhel63-sftponly software]$ touch test1

touch: cannot touch `test1': Permission denied

[test3@likewise-rhel63-sftponly software]$ id

uid=2087191647(test3) gid=301(dba) groups=301(dba),2087191041(domain^users) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

[test3@likewise-rhel63-sftponly software]$ ls -ld /software/

drwxr-xr-x. 4 nobody nobody 512 Aug 14 11:02 /software/

[test3@likewise-rhel63-sftponly software]$

# uname -a

SunOS likewise-sol10-nfs 5.10 Generic_147148-26 i86pc i386 i86pc

# cat /etc/release

                    Oracle Solaris 10 1/13 s10x_u11wos_24a X86

  Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.

                            Assembled 17 January 2013

# cat /etc/dfs/dfstab | grep software

share -F nfs -o rw=138.202.80.167 -d "sftp account" /software

# share

-               /software   rw   ""

# dfshares

RESOURCE                                  SERVER ACCESS    TRANSPORT

likewise-sol10-nfs:/software                likewise-sol10-nfs  -         -

Trying to mount from RHEL 6.3 NFS CLIENT

[test3@likewise-rhel63-sftponly ~]$ uname -a

Linux likewise-rhel63-sftponly 2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

[test3@likewise-rhel63-sftponly ~]$

[test3@likewise-rhel63-sftponly etc]$ cat /etc/redhat-release

Red Hat Enterprise Linux Server release 6.4 (Santiago)

[test3@likewise-rhel63-sftponly etc]$

[test3@likewise-rhel63-sftponly etc]$ df -h | grep -i software

138.202.80.168:/software

                      8.1G  4.0G  4.1G  50% /software

[test3@likewise-rhel63-sftponly etc]$

[test3@likewise-rhel63-sftponly etc]$ mount | grep -i software

138.202.80.168:/software on /software type nfs (rw,hard,intr,bg,vers=4,addr=138.202.80.168,clientaddr=138.202.80.167)

[test3@likewise-rhel63-sftponly etc]$ grep -i software /etc/fstab

138.202.80.168:/software /software              nfs     rw,hard,intr,bg,vers=4 0 0

[test3@likewise-rhel63-sftponly etc]$

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2013
Added on Aug 14 2013
5 comments
5,692 views