Solved

NFSv4 permission denied when using chmod

Posted on 2010-09-10
2
2,088 Views
Last Modified: 2012-05-10
I have encountered a strange problem when trying to chown a file mounted as nfsv4 on Solaris 10?

Config:

Netapp Filer - exporting volume /test as nfsv4, with unix style security, read/write access and root
Solaris 10 - mounting /test as nfsv4, rw

When using Solaris NIS, there are no issues using chown to change permissions to a nis user. However I use LDAP ( Windows 2003 domain ) to authenicate users on Solaris and when using chown with the LDAP account get permission denied. The files are owned by root, root can create directories and files, just can't chown.

Anybody have any experience in this combination?

0
Comment
Question by:xeyeclan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:jghelfman40
ID: 33648741
I believe you need to be running cifs on the filer. CIFS is specifically for windows.Try running:> cifs setupThe now site will have  more information on it if you don't have man pages installed, otherwise you could probably just run 'man cifs' on your filer.

This also seems like something that should be put in the Netapp Storage Zone.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 33659018
If you try to use chomd/chown to a NFS filesystem from the NFS client, you need to set the NFS share promissions to allow the root in the NFS client to do the job.
eg,  if Your NFS server is Solaris, in the /etc/dfs/dfstab file, should have
root=client1:cline2:clinetN
as the option in the NFS share
if clent, client2, clientN is not defined in DNS, or NIS/NIS+, you need to put them in /etc/hosts file.
man dfstab
to learn more details.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question