Permission Denied creating file under nfs mount


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Permission Denied creating file under nfs mount
# 1  
Old 10-26-2010
Permission Denied creating file under nfs mount

I have two servers, 82 and 70.

My exports file on 82 reads

/ ...70(rw)

on 70 I have a mountpoint called mnt_for_82

I execute on 70

mount -t nfs -o rw ...82:/ mnt_for_82

I go to server 70 and indeed can read and travers the mounted subdirectories. However, I try to create a file or subdirectory under the mount point on 70 and I get a *Permission Denied* error.

I'm sure there is a simple explanation for this issue as well as a correct nomenclature for what I'm trying to do in nfs.

Your time and patience is greatly appreciated...

Thanks!



---------- Post updated at 10:56 AM ---------- Previous update was at 09:58 AM ----------




Got the answer! Had to do with the additional parameters (no_root_squash, etc....) that need to be passed in the /etc/exports file...

Thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Permission denied error using chmod on a cifs mount

I have a RHEL 5.7 system with a cifs mount from a Windows 2007 file server that I need to fix the permissions on. Once the share is mounted the permission for the mount are 777. I need to change that to 770 on the top level directory and to 640 on the sub-directory .ssh/. But when I run chmod... (0 Replies)
Discussion started by: westmoreland
0 Replies

2. UNIX for Advanced & Expert Users

nfs mount permission issues

Hello, We have some new application requirements that require us to use nfs mounts from aix 5.3 and mount to Oracle Linux 5.6. Do you know why when on the destination ( linux ) box, the root user cannot access directories made by other users in the nfs mounted filesystem ? I read that there... (0 Replies)
Discussion started by: fwellers
0 Replies

3. Solaris

NFS in Solaris 9 - Permission denied

nfs mount: Permission denied Guy's in Solaris 9 I'm trying to mount the below mount point as nfs in clinet mount -F nfs -o rw 171.13.10.20:/shared /app but I'm getting the below message !!! bash-2.05# mount -F nfs -o rw 171.13.10.20:/shared /app nfs mount:... (2 Replies)
Discussion started by: Mr.AIX
2 Replies

4. Programming

Permission denied when creating message queue

Hi guys. i have wrote a simple program to test message queue attributes. here it is: #include <stdio.h> #include <stdlib.h> #include <mqueue.h> #include <fcntl.h> #include <string.h> #include <errno.h> #include <sys/stat.h> int main() { struct mq_attr attr; mqd_t mqd; ... (2 Replies)
Discussion started by: majid.merkava
2 Replies

5. Solaris

Problem with nfs sharing, permission denied for writing.

Hi I have a problem with NFS sharing on solaris 10, the problem simply with write permission, after do the following command, the folder still not writable from machine 2 : on machine 1 (10.10.10.32) : share -F nfs -o rw /u01/portalrepository/ on machine 2 (10.10.10.31) : mount -F nfs... (35 Replies)
Discussion started by: Al-Mothafar
35 Replies

6. UNIX for Dummies Questions & Answers

nfs permission denied failure

I think I must be drain bamaged... I'm just trying to export an NFS share and mount it on a client. Should be really easy but I'm failing! Here's the set up: Server: OS: Centos 5.3 Name: fileprint-0 (aliases fp00, fs00) Exported directory: /home/ESE Client: OS: Centos 5.3 ... (5 Replies)
Discussion started by: texaganian
5 Replies

7. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

8. UNIX for Dummies Questions & Answers

NFS Mount: Permission Denied

Hi, - I have two solaris 10 servers. One is running nfs server (let's call it server-1) and has a share set through /etc/dfs/dfstab file: share -F nfs /opt/SHARE (where SHARE directory contains sub-items that I want to share) - On server-1, I have started the nfs server service and have... (2 Replies)
Discussion started by: jackola
2 Replies

9. UNIX for Advanced & Expert Users

mount: failed, reason given by server: Permission denied

Hi , I have a filesystem on AIX 4.3.3 which i need to share with other clients who use Windows NT and Redhat linux 7.3. I use samba to share this with Windows NT Clients. Now i was to share this with Linux clients. When i try to nfs mount this on Linux i get "mount: failed, reason given by... (1 Reply)
Discussion started by: Sushesh
1 Replies

10. UNIX for Dummies Questions & Answers

Permission Denied using VI on my NFS

Hi Friends, I have problem using VI on my NFS as a user. But root does not. When I tried to vi .cshrc, I have this error msg pops out jennifer_hostname > vi .cshrc "/var/tmp/Ex???? : Permission Denied" jennifer_hostname > Does any of you encounter this problem before or... (4 Replies)
Discussion started by: jennifer
4 Replies
Login or Register to Ask a Question
MOUNT.NFS(8)						      System Manager's Manual						      MOUNT.NFS(8)

NAME
mount.nfs, mount.nfs4 - mount a Network File System SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options] DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality. mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality. remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be mounted. Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions, mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2. OPTIONS
-r Mount file system readonly. -v Be verbose. -V Print version. -w Mount file system read-write. -f Fake mount. Don't actually call the mount system call. -n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making an entry. -s Tolerate sloppy mount options rather than fail. -h Print help message. nfsoptions Refer to nfs(5) or mount(8) manual pages. NOTE
For further information please refer nfs(5) and mount(8) manual pages. FILES
/etc/fstab file system table /etc/mtab table of mounted file systems SEE ALSO
nfs(5), mount(8), AUTHOR
Amit Gud <agud@redhat.com> 5 Jun 2006 MOUNT.NFS(8)