- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- User rights on NFS exported by Linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 03:49 AM
тАО04-09-2008 03:49 AM
User rights on NFS exported by Linux
I set up a NFS server using a Linux (Mandriva 2008.0) box that exports a single directory to two Tru64 machines. I mouted the NFS export as /mnt/nfs on both machines and gave all users the right to add/modify files and direcories on the NFS export. This works just after the chmod then when I try to access the export again (for example the day after) I have a permission denied error. I'm looping on chmod - permission denied.
Could someone suggest me what I doing the wrong way?
My /etc/export (on Linux) is:
[root@servernfs sc]# cat /etc/exports
#
/home/flink 192.168.200.0/24(rw,no_root_squash,insecure_locks,insecure)
/media/disk 192.168.200.0/24(rw,no_root_squash,insecure_locks,insecure)
My /etc/fstab (on Tru64):
# cat /etc/fstab
/dev/disk/dsk0a / ufs rw 1 1
/proc /proc procfs rw 0 0
/dev/disk/dsk0f /usr ufs rw 1 2
/dev/disk/dsk0b /var ufs rw 1 2
/dev/disk/dsk1c /usr2 ufs rw 1 2
192.168.200.9:/home/flink /mnt/nfs nfs rw 0 2
TIA
sc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 07:45 AM
тАО04-09-2008 07:45 AM
Re: User rights on NFS exported by Linux
I don't understand that part. Do you have the FS mounted on /mnt/nfs in Tru64, and when you run chmod you get permission denied?
You must also post the permissions for the directory/files itself and the user who get permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 01:07 PM
тАО04-09-2008 01:07 PM
Re: User rights on NFS exported by Linux
as root:
1) create the export
2) edited /etc/fstab
3) issued a mount -a
as user:
4) cd /mnt/nfs
5) got permission denied
as root:
6) cd /mnt/
7) chmod -R a+wr nfs/
as user (on one tru64 machine
8) cp ... /mnt/nfs
as user on the other tru64 machine
9) cp /mnt/nfs
I did this yesterday, today I just tried to copy to the share as user and got a permission denied again. Neither the Linux box, neither the tru64 machines where rebooted in the meanwhile.
Tomorrow, I'm at home now, I'll post more details.
TIA
sc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 11:53 PM
тАО04-09-2008 11:53 PM
Re: User rights on NFS exported by Linux
flink@sccar02 > cd /mnt/nfs
flink@sccar02 > ls
.: Permission denied
I checked as root:
root@sccar01> ls -la /mnt
total 28
drwxrwxrwx 4 root system 8192 Mar 27 13:55 .
drwxr-xr-x 29 root system 8192 Mar 14 13:20 ..
drwx--x--x 5 root system 4096 Apr 9 16:23 nfs
root@sccar02 > ls -la /mnt
total 7
drwxrwxrwx 4 root system 512 Mar 27 15:40 .
drwxr-xr-x 26 root system 1024 Apr 9 16:42 ..
drwx--x--x 5 root system 4096 Apr 9 16:23 nfs
Bye
sc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 04:13 AM
тАО04-10-2008 04:13 AM
Re: User rights on NFS exported by Linux
On TRU64 machines:
# chmod 777 /mnt/nfs
# cd /mnt/nfs
# chmod 777 some_files
login as ordinary user and
$ ls -al /mnt
$ ls -al /mnt/nfs