LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-29-2013, 09:56 AM   #1
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Partially shared home directory?


I want to set up a structure to partially share a user's home directory across several machines in a LAN.

My basic idea (correct me if I'm overlooking some serious flaw): replace every not-completely-shared file or subdirectory in the user's home directory with a symlink to the same name in that user's subdirectory of /local

The home directory (including those symlinks) is stored on our main fileserver and auto mounted into the workstation or any headless server when used. But the fileserver has no /local, so from its point of view all those symlinks are dangling.

On a workstation where that user logs into the physical display system, he would want one set of config files and directories for all the GUI programs he runs. That would be stored in /local/username on that machine itself.

On all headless Centos 5 servers, the same user would want mostly the same home directory, but a different set of program specific config files (shared by all headless Centos 5 servers. Each Centos 5 would have a /local mount point mounted to point to a Centos5-local directory somewhere in the fileserver.

Similarly the Centos 6 headless servers would each have a /local mointpoint all pointing to a shared Centos6-local directory.

That covers most cases (except I haven't tried it yet and might have badly misunderstood the way symlinks interact with nfs).

But a significant fourth case exists. If the user does a remote login to a workstation where he normally would do a direct login, he would want the Centos6-local directory to be /local rather than get the ordinary local. The ordinary /local has GUI config based on the multi-monitor configuration of that workstation and does not play well at all with remote use.

I started a whole separate thread on that question:
http://www.linuxquestions.org/questi...ns-4175489468/

Last edited by johnsfine; 12-29-2013 at 10:06 AM.
 
  


Reply


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
[SOLVED] Accessing Web pages shared in /<Directory /home/vinay/public_html> Allowdirectory vinaytp Linux - Newbie 1 06-02-2010 03:53 AM
shared home directory for three desktops running ubuntu 9.04 iochinome Linux - Networking 2 05-20-2009 02:28 PM
Shared Home Directory Throwing Error Ingla Ubuntu 6 08-06-2007 06:21 AM
how can i move this folder of music from /root/Shared to /home/coffee/Shared ? thx mr_coffee Linux - Newbie 9 01-23-2006 06:50 AM
Shared windows files partially accessable Jeebizz Slackware 5 10-15-2004 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:41 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
Open Source Consulting | Domain Registration