Home › Forums › OS X Server and Client Discussion › Questions and Answers › File associations (always open with) are constantly reverted
- This topic has 8 replies, 3 voices, and was last updated 13 years, 1 month ago by
ValereG.
-
AuthorPosts
-
September 15, 2011 at 10:47 am #381181
kaplamo
ParticipantHi,
This sounds like a minor problem but is a major hassle on every workstation. We want to change file associations for all types like opening all .eps with illustrator instead of Preview.app and many others.
Our Workstations run Lion 10.7.1 and have Network Homes hosted on a Snow Leopard Server. Whenever the user changes the file associations (Get Info… dialogue) this change is reverted after a reboot. Strangely enough the new association is still in place if the user just logs out and back in again. There is no such problem with local users on the machines.
The com.apple.LaunchServices.plist where these settings are stored reflect changes made in the Get-Info dialogue. Upon reboot the Finder seems to ignore this settings file although it stays unchanged!
Any help is greatly appreciated!
November 11, 2011 at 2:09 pm #381390ValereG
ParticipantHi,
Same problem with 10.7.2 Workstations and 10.7.2 Server.
I’ve tried to create alias for Network Homes in /Users (ln -s /Network/Servers/my-server.com/nethome/username), but the problem remains.
I’ve tried to create the “nethome” folder on the root of the Workstations and to edit the NFSHomeDirectory, the problems remains.Please, let me know if you find a solution (or at least an explication).
PS : Excuse my frenglish.
November 11, 2011 at 5:29 pm #381391ValereG
ParticipantThere are messages like this one in system.log on the Workstations:
“computer-name lsregister[971]: CFPreferences: user home directory at file://localhost/Network/Servers/my-server.com/nethome/username/ is unavailable. User domains will be volatile.”
But the user can log in and much of his preferences are normally read.It looks like LSRegister cannot access to the file.
Keeping searching…
November 13, 2011 at 12:58 pm #381393ValereG
ParticipantOK. Found some kind of solution :
On every Lion Workstation, delete the content of /Library/Managed Preferences ->
sudo rm -Rvf /Library/Managed Preferences/*
Reboot
/Library/Managed Preferences’ network users subfolders are recreated with correct parameters when a network user logs in.
File associations are correctly read by LSRegister (no more error messages in Console).Hope it helps.
November 13, 2011 at 4:19 pm #381394kaplamo
ParticipantThank you very much for posting your solution!
I must admit I stopped looking into this issue at some point… so this is a big help for everyone here. I will try your solution next time I am on site and report back.
Thanks again!
November 13, 2011 at 4:56 pm #381395ValereG
ParticipantDamn it!
Worked once, twice, but the problem’s back after the third reboot!
Tired.
Let’s find another trick.November 13, 2011 at 7:38 pm #381396tlarkin
ParticipantGoogle search for a binary app called “duti” which will allow you set set default apps to users for web content and pdf files and such
November 14, 2011 at 11:59 am #381397ValereG
ParticipantThank’s.
But duti doesn’t work for the same reasons: the lsregister process (and xpchelper, and so…) starts before the kernel “afp_vfs afpfs_mount” process. So it can’t find the network home account and can’t read the user’s preferences.
And I cannot find the way to make kernel mount afp home earlier or to make lsregister start later…
At this point, I seriously consider downgrading the workstations to Snow Leo — fortunately I’ve kept all TM Backups.
Hope Apple will fix that ridiculous problem soon.February 20, 2012 at 12:10 pm #381652ValereG
ParticipantHi,
Found a solution:
On the 10.6.8 Server, just change the automount option for the network home directories from AFP to NFS.
Reboot both server and clients.
Worked for me.V.G
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed