Home Forums OS X Server and Client Discussion Questions and Answers File associations (always open with) are constantly reverted

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #381181
    kaplamo
    Participant

    Hi,

    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!

    #381390
    ValereG
    Participant

    Hi,

    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.

    #381391
    ValereG
    Participant

    There 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…

    #381393
    ValereG
    Participant

    OK. 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.

    #381394
    kaplamo
    Participant

    Thank 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!

    #381395
    ValereG
    Participant

    Damn it!
    Worked once, twice, but the problem’s back after the third reboot!
    Tired.
    Let’s find another trick.

    #381396
    tlarkin
    Participant

    Google 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

    #381397
    ValereG
    Participant

    Thank’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.

    #381652
    ValereG
    Participant

    Hi,

    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

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

Comments are closed