LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-04-2018, 05:35 AM   #1
picklehead
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Rep: Reputation: Disabled
Can't access NFS directory as root. Permission denied.


Hi,

I have created an NFS share on one Solaris 11 machine. It's a software repository. And I have then mounted it on another machine. I can access the directories above the last directory but when I try to cd to the final director even as root I get "permission denied". The permissions on the directory are 755.

What could this be?
 
Old 07-05-2018, 06:36 PM   #2
MadeInGermany
Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 829

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
On the NFS client check with command
nfsstat -m
if the mounted NFS is version 3 or 4.
I guess it's version 4, and you have to setup mapid and/or kerberos.
Consult the public Oracle docs!
You can search with Google, add keyword Solaris, and it will often refer to it.
As an alternative you can restrict the NFS server to version 3, or give a mount option for version 3 on the NFS client.
 
Old 07-17-2018, 10:33 AM   #3
picklehead
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MadeInGermany View Post
On the NFS client check with command
nfsstat -m
if the mounted NFS is version 3 or 4.
I guess it's version 4, and you have to setup mapid and/or kerberos.
Consult the public Oracle docs!
You can search with Google, add keyword Solaris, and it will often refer to it.
As an alternative you can restrict the NFS server to version 3, or give a mount option for version 3 on the NFS client.
Thanks MIG,

I extended the permissions to the sub directory of the NFS share and that seemed to solve the issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] root denied permission to nfs mounted directory but user can read and write qajaq Linux - Networking 2 03-08-2016 08:53 AM
'Permission denied' on client of nfs-mounted directory RileyTheWiley Linux - Networking 2 01-20-2014 06:55 PM
NFS :: Permission denied after mounting, root works.. Devils_Guardian Linux - Networking 1 11-17-2004 10:40 AM
Can't access mounted NFS directory: "permission denied" SparceMatrix Linux - General 6 03-08-2003 01:36 PM
permission denied when mounting nfs directory keirobyn Linux - Networking 3 01-29-2002 12:43 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration