NFS permission


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers NFS permission
# 1  
Old 08-16-2010
NFS permission

Two AIX 5.3 machines. On the first a file system is exported, on second it is mounted (NFS). The problem is when i want to create/write a file on a mounted file system:
Code:
The file system has read permission only.
ksh[2]: testfile1: 0403-005 Cannot create the specified file.

The permission for this FS is 777, so... And, that is worse, there it is a third machine where that FS is already mounted and no problem with permissions.

Franci
# 2  
Old 08-16-2010
Check again how it was exported (look at /etc/exports...)
Then check the permissions (and ownership...) on the underlying mount point (the mount point directory without the mount...)
# 3  
Old 08-16-2010
I've checked the underlying mount point. It is ... 777 and my group, too.
But, the funny thing is that even root cannot create the file.
On other site /export/ it has been done the same for both nodes where I want to mount that FS.
And I cannot find out where it is the difference. On one node is ok, on other that I add today, not ok Smilie
# 4  
Old 08-17-2010
are you sure that the nfs share is read-write and not read-only?
do you see (rw) in your /etc/exports file?
for nfs, default is read-only if you do not mention any.
# 5  
Old 08-18-2010
This is from /etc/exports:
Code:
/temp -anon=0,sec=sys,rw=node1:node2,root=node1:node2

And the mount point is done exactly equal (properties) on both nodes. But as said, on first you can write, on second one not.
MisterySmilie
# 6  
Old 08-18-2010
then, as mentioned earlier by vbe, in his words: what were the permissions and ownership of the underlying mount point (the mount point directory without the mount)?
were they same at both machines?
# 7  
Old 08-18-2010
The permissions and ownership of the underlying mount point are exactly the same on both nodes.
I also restart daemon nfsd. On node that exports and on target node2. No use.
So, finally I changed "Mode to export directory" from "read-mostly" to "read-write" and clear 'hostname list'. Now it works. Smilie
But this thing still bothers me. Why it had worked on one node and not on another. Anyway, thanks for help.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

No write permission on NFS mount point

hi all i have mounted one nfs mount point but i has no write permission on it. when i am going to make a directory it is giving an error # mkdir 1 mkdir: Failed to make directory "1"; Permission denied i shared using command # share -F nfs -o rw -d "backup" /backup mounted using... (3 Replies)
Discussion started by: nikhil kasar
3 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. UNIX for Dummies Questions & Answers

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... (0 Replies)
Discussion started by: blaine.miller
0 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. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 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 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