Jump to content

Recommended Posts

Posted
We 'Force local home directory on startup disk'

 

Then we turn the following script (which redirects the documents to the network) into an executable using a free utility called platypus

 

chmod -R -N ~/Documents

chmod -R -N ~/Movies

chmod -R -N ~/Music

chmod -R -N ~/Pictures

rm -rf ~/Documents

rm -rf ~/Movies

rm -rf ~/Music

rm -rf ~/Pictures

ln -s "/Volumes/Homes/$USER/My Documents" ~/Documents

ln -s "/Volumes/Homes/$USER/My Documents/My Videos" ~/Movies

ln -s "/Volumes/Homes/$USER/My Documents/My Music" ~/Music

ln -s "/Volumes/Homes/$USER/My Documents/My Pictures" ~/Pictures

 

Then use Profile Manager to run the executable at login.

 

Also we set in the default user profile the DSDontWriteNetworkStores to true in com.apple.desktopservices to speed up SMB share access on the Mac OS.

@Quackers does iMovie 10 work well after redirecting back to the network?

Posted
@Quackers does iMovie 10 work well after redirecting back to the network?

 

Kind of, you have to instruct the kids to manually make a library in the home directory, and then open it again in the future.

Posted

If you use the built-in AD plugin with the "Use UNC path to derive network home location" enabled, it mounts the actual share, not the subdirectory. If you want the mount point to be the actual users home folder you would need to use a login script instead. We've posted a cut down version of our SMBHome mounting script here:

 

https://github.com/amsysuk/public_scripts/tree/master/mount_SMBHome

 

You just need to set it to run at login via a launch agent.

  • 1 year later...
Posted
Hi Quackers, just found your extremely helpful post from Jan 2015 and wondered if you'd mind answering a few questions, since I'm about to attempt a similar approach for OS X network users of forcing local home directory on startup disk, and then redirecting a few folders back to the network home folder. Are you only doing the 4 folders you mention in your post (Documents, Movies, Music, Pictures)? I was planning to also redirect Desktop and ~/Library/Preferences. Have you run into any trouble with any specific folders? Have you run into any problems with this overall approach? Are you still using it and is it still working for you? What version are your OS X clients now, and do you have El Capitan clients successfully using this approach? And finally, what was the reason for turning the login script into an executable with Platypus instead of running it as a script? Thanks in advance for any information you could provide.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...