Solved

NFSv4 permission denied when using chmod

Posted on 2010-09-10
2
2,042 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

735 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