- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: NFS mount point permission denied
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
тАО09-26-2007 10:56 PM
тАО09-26-2007 10:56 PM
i have nfs server(i.e 192.168.0.2) having few portion of shared like /home/software. when a system in network (i.e. 192.168.0.4) mount that portion as a root in /mnt.
#cd /mnt
-bash: cd: /mnt: Permission denied
#ls -la /
drwx------ 2 mysql mysql 4096 Sep 22 16:31 mnt
my prob is ===> why is it showing mysql owner?
Pls suggest!
Thanks
MKS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2007 11:53 PM
тАО09-26-2007 11:53 PM
Re: NFS mount point permission denied
Maybe someone did
# chown mysql:mysql /mnt
for some reason...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2007 11:55 PM
тАО09-26-2007 11:55 PM
Re: NFS mount point permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:10 AM
тАО09-27-2007 12:10 AM
Re: NFS mount point permission denied
Thanks for quick reply.
Rob, when i mount it another location it also display same owner n group(mysql).
Ivan, when i umount /mnt then it display root owner n group.
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:16 AM
тАО09-27-2007 12:16 AM
Re: NFS mount point permission denied
below is NFS sever exports entry.
# cd /proc/fs/nfs
#vi exports
# Version 1.1
# Path Client(Flags) # IPs
/home/software 192.168.0.4(rw,root_squash,sync,wdelay,no_subtree_check,uuid=166e87a6:e3cc4c24:aaa1064c:4b53622d)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:19 AM
тАО09-27-2007 12:19 AM
Re: NFS mount point permission denied
>Do you have in sync the UID/GID information between the NFS server and NFS client?
How can we sycn client n server?
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:20 AM
тАО09-27-2007 12:20 AM
Re: NFS mount point permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:37 AM
тАО09-27-2007 12:37 AM
Re: NFS mount point permission denied
I so confused why mysql is coming here? I think there is no role of mysql user.
And why mysql getting ownership after mounting that portion of server where as i m mountnig as a root on cleint?
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:41 AM
тАО09-27-2007 12:41 AM
Re: NFS mount point permission denied
I just check that mysql id on client n sever are different.
Server:
# id mysql
uid=27(mysql) gid=27(mysql) groups=27(mysql)
Client:
# id mysql
uid=501(mysql) gid=501(mysql) groups=501(mysql)
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 12:46 AM
тАО09-27-2007 12:46 AM
SolutionSo in the server, the exported directory is owned by UID=501, I don't know which user is, but when you mount on the client, it looks like the owner is mysql, because uid=501 on client is mysql.
It does not matter who mounts the directory, the owner is as established in the exported directory. That is why UID/GID information must be consistent between server and client.
Remember to keep asigning points!