- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Permission issue on NFS file system
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
Forums
Discussions
Discussions
Discussions
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
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
07-25-2010 02:47 AM
07-25-2010 02:47 AM
Permission issue on NFS file system
I have an issue with NFS mounted file system
when ever i trying to give df -h from user showing permisson denied for one directory named samba.If i trying to give from root user it is showing.
================================
root@gpscxxx3 # su 45suite
root@gpscxxx3 # id
uid=522(45suite) gid=126(crtrp)
root@gpscxxx3 # df -h | grep /mcc/app/lapps/gifto341
df: cannot statvfs /mcc/app/lwers/giftor345a: Permission denied
df: cannot statvfs /mcc/app/lwers/giftor345b: Permission denied
df: cannot statvfs /mcc/app/lwers/giftor345c: Permission denied
root@gpscxxx3 #
============================================================
root@gpscxxx3 # id
uid=0(root) gid=1(other)
root@gpscxxx3 # df -h | grep /mcc/app/lapps/giftor01
camccfa2:/sdata_mcc01_dmg2007 134G 104G 30G 78% /mcc/app/lwers/giftor345a
camccfa2:/sdata_mcc01_dmg2008 134G 116G 18G 87% /mcc/app/lwers/giftor345b
camccfa2:/sdata_mcc01_dmg2009 134G 117G 17G 88% /mcc/app/lwers/giftor345c
root@gpscgm03 #
===================================================================
root@gpscxxx3 # ls -ld /mcc/app/lapps/giftor01b
drwxr-xr-x 6 root root 1024 Aug 24 2009 /mcc/app/lapps/giftor345b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 03:52 AM
07-25-2010 03:52 AM
Re: Permission issue on NFS file system
Check the permission on the parent directory.
of /mcc/app/lapps/giftor345b :
# ls -ld /mcc/app/lapps/
# ls -ld /mcc/app
# ls -ld /mcc
Also , what was the permission on the directory before you mounted. and what is the permission on the remote side if it is a remote mount.
you can check in fstab , or try # mount -p
# grep mcc /etc/passwd
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 03:58 AM
07-25-2010 03:58 AM
Re: Permission issue on NFS file system
What does -h do, it isn't documented?
>ls -ld /mcc/app/lapps/giftor01b
Why aren't you doing:
ls -ld /mcc/app/lwers/giftor345*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 04:05 AM
07-25-2010 04:05 AM
Re: Permission issue on NFS file system
root@gpscxxx3 # id
uid=522(45suite) gid=126(crtrp)
root@gpscxxx3 # df -k | grep /mcc/app/lapps/gifto341
df: cannot statvfs /mcc/app/lwers/giftor345a: Permission denied
df: cannot statvfs /mcc/app/lwers/giftor345b: Permission denied
===================================================
root@gpscxxx3 # ls -ld /mcc/app/lapps/giftor345a
drwxr-xr-x 6 root root 1024 Aug 24 2009 /mcc/app/lapps/giftor345a
====================================================================
root@gpscxxx3 # ls -ld /mcc/app/lapps
drwx------ 5 root other 512 Apr 13 13:14 /mcc/app/lapps
root@gpsxxx3 # ls -ld /mcc/data
drwxr-xr-x 3 root other 512 Jan 30 2006 /mcc/data
root@gpscxxx3 # ls -ld /mcc
drwxr-xr-x 5 root other 512 Jan 30 2006 /mcc
root@gpscgm03 #
=================================================================================
I provided 755 permissions to /mcc/app/lapps directory also, but it shows the same error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 04:18 AM
07-25-2010 04:18 AM
Re: Permission issue on NFS file system
FOr more info please check below out put.
root@gpscxxx3 # ls -al mcc/app/lwers/giftor345a
total 8439682
drwxr-xr-x 7 root root 1024 Aug 22 2008 .
drwx------ 5 root other 512 Apr 13 13:14 ..
dr-xr-xr-x 2 root other 1024 Jul 8 04:06 .etc
-rw------T 1 root other 4318959616 Dec 8 2008 CELERRA_DART_MAINT_DO_NOT_REMOVE
drwxrwxrwx 20 316 112 1024 Jun 10 10:41 apps
drwxr-xr-x 2 root root 8192 Jul 2 2007 lost+found
drwxrwxrwx 3 316 112 80 Jul 18 2007 software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 05:06 AM
07-25-2010 05:06 AM
Re: Permission issue on NFS file system
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 05:30 AM
07-25-2010 05:30 AM
Re: Permission issue on NFS file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 05:42 AM
07-25-2010 05:42 AM
Re: Permission issue on NFS file system
What is there in your export file.
please post here.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 11:47 AM
07-25-2010 11:47 AM
Re: Permission issue on NFS file system
The default for most NFS servers is to never give root privileges to clients. Contact you NAS administrator for clarification. There is nothing you can do on the client side to gain root access.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2010 07:40 PM
07-25-2010 07:40 PM
Re: Permission issue on NFS file system
Check the permission setting in /etc/exports file of the server system. You can not change the permission at client system.
Rgds,
Muru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2010 09:41 AM
07-26-2010 09:41 AM
Re: Permission issue on NFS file system
If you can get downtime for the servers try unmounting the nfs filesystem in the client and restart the Nfs services and then mount it.
or problem may be with your userid's between client and server, please verify the userid's in the client and server end are in the same group.
Thanks
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2010 09:54 AM
07-26-2010 09:54 AM
Re: Permission issue on NFS file system
Unmount the NFS, change permissions on the host and then remount the NFS link from the client with the correct umask.