?
Solved

NFSv4 permission denied when using chmod

Posted on 2010-09-10
2
Medium Priority
?
2,127 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

752 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