|
|
unable to modify nfs mount on Mac
|
|
|
|
Fresh-Faced Recruit
Join Date: Jan 2011
Status:
Offline
|
|
Hi All,
I am using Mac Osx 10.6.3 and installed vmplayer 2.4 on it. I loaded Free bsd in vm player. So my guest operating system is FreeBSD and host operating system in Mac.
Consider, Mac IP - a.b.c.d (users available are ramesh)
& FreeBSD- p.q.r.s (users available are user)
Now, I need to mount /usr/local/hello folder from freeBSD to mac. So, I am running following command on my mac terminal
Code:
$ sudo mount -o -P -w p.q.r.s:/usr/local/hello /Users/ramesh/mounting
This mounts properly but I m not able to do any modification on the mounted drive. It says "Permission denied"
Please guide me to modify the mounted drive on my mac book.
Regards,
Akash
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Apr 2002
Location: Illinois
Status:
Offline
|
|
Originally Posted by akashmahakode
Hi All,
I am using Mac Osx 10.6.3 and installed vmplayer 2.4 on it. I loaded Free bsd in vm player. So my guest operating system is FreeBSD and host operating system in Mac.
Consider, Mac IP - a.b.c.d (users available are ramesh)
& FreeBSD- p.q.r.s (users available are user)
Now, I need to mount /usr/local/hello folder from freeBSD to mac. So, I am running following command on my mac terminal
Code:
$ sudo mount -o -P -w p.q.r.s:/usr/local/hello /Users/ramesh/mounting
This mounts properly but I m not able to do any modification on the mounted drive. It says "Permission denied"
Please guide me to modify the mounted drive on my mac book.
Regards,
Akash
You're going to need to help me out. It's most likely because your UIDs don't match between the OSes. I forget, does FreeBSD use a Linux-esque /etc/passwd to store it's login info?
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
If you are mounting the NFS volume via NFSv4 you will need NIS or LDAP to share UID/GID information between systems. Otherwise, if you use NFSv3 what you are doing should work just fine. You can specify the version number with -o vers=<num>. Check out mount_nfs for other useful mount options such as "intr"
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by King Bob On The Cob
You're going to need to help me out. It's most likely because your UIDs don't match between the OSes. I forget, does FreeBSD use a Linux-esque /etc/passwd to store it's login info?
Yes, it uses a shadow password scheme.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Apr 2002
Location: Illinois
Status:
Offline
|
|
Originally Posted by besson3c
If you are mounting the NFS volume via NFSv4 you will need NIS or LDAP to share UID/GID information between systems. Otherwise, if you use NFSv3 what you are doing should work just fine. You can specify the version number with -o vers=<num>. Check out mount_nfs for other useful mount options such as "intr"
NFSv3 still requires you to keep the UID/GID in sync. NFSv4 does some identity translation, but as far as I know it requires the use of kerberos to do so, otherwise it falls back to the NFSv3 method of "Use the same UID/GID"
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by King Bob On The Cob
NFSv3 still requires you to keep the UID/GID in sync. NFSv4 does some identity translation, but as far as I know it requires the use of kerberos to do so, otherwise it falls back to the NFSv3 method of "Use the same UID/GID"
I don't think it requires Kerberos to do it, NIS and LDAP are fair game too. I'm also certain that it doesn't fall back at all or fall back properly at least on FBSD, because I asked this very question on the FreeBSD file system list where some of the FBSD developers reside.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|