LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 12-24-2009, 08:00 PM   #1
onymouse
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Can NFSv4 server translate symlinks for clients?


Recently resumed using nfs with two boxes. On the server there are exports with a lot of symlinked directories (within the exported directories that I want the client to access. But the server sends the symlink to the client, which sees it as a local symlink.

Can nfsV4 servers translate symlinks for clients? If so, how?

Or can clients translate symlinks?

If this cannot be done then how can I give users in the clients access using group permissions? IIRC, this was possible in v1 and/or v2.
 
Old 12-25-2009, 02:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
No, the experience you're seeing is correct, it should be a seen as a local link. You just need to manage these symlinks appropriately. Symlinks in the base system will be relative and so as long as both parts of the relevant filesystem are exported they will work as normal. if the symlink points to somewhere that's not exported, then it should sit really uncomfortably that it could provide access to data outside fo the exported filesystem.

In V3 mountd could handle some manipulation here, but as V4 doesn't use mountd and has a much more strict conceptual model of how things are exported. There appears to be some ability to work around some limitations using lofs it seems.

Last edited by acid_kewpie; 12-25-2009 at 03:54 AM.
 
Old 12-25-2009, 07:42 PM   #3
onymouse
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
A partition is exported and even relative links break. I guess I'll just have to play with mountpoints and see what works. I'd rather not have to create all those symlinks on clients.

And then I have to work out how to grant different users in the same group access. As you say, V4 is strict so it will be difficult if it is possible.
 
Old 12-25-2009, 07:44 PM   #4
onymouse
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Forgot to say that the links are within the exported partition and point inside that partition.
 
  


Reply

Tags
nfs, symlinks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH/No X: Using google translate to convert TXT files (translate) frenchn00b Programming 10 09-13-2009 11:55 PM
NFSv4 Large server concept. FragInHell Linux - Networking 1 05-31-2008 06:40 AM
to translate or not to translate HTML rblampain General 2 07-05-2007 10:04 AM
NFSv4 decrypt in server side? Jedy Linux - Networking 0 04-24-2004 08:35 AM
translate wrong keycodes to x server Pyrasol Programming 1 02-23-2002 08:42 PM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration