chemistry_geek
Registered
I need to change ownership of one file from root to my user account. Yesterday the "prefs.js" preference file in Mozilla was corrupted, and I restored the file with a backup I had made the week before. The backup was made using the root user account to an external firewire HD. The only thing I need to do is change ownership of that one file, nothing else needs to be changed (read/write priviledges). I can't make changes to Mozilla's preferences without changing file ownership.
I'm asking for advice because I've heard of so many horror stories of people going into the command line and changing ownership of too many files that subsequently requires reinstalling OS X.
I've searched for this through the forums and couldn't find a good enough example that shows what I need to do.
The path of the file is:
/Users/alchemist/Library/Mozilla/Profiles/default/xpfzghitk.slt/pref.js
The current owner of the file is system buts needs to be changed to alchemist.
I'm asking for advice because I've heard of so many horror stories of people going into the command line and changing ownership of too many files that subsequently requires reinstalling OS X.
I've searched for this through the forums and couldn't find a good enough example that shows what I need to do.
The path of the file is:
/Users/alchemist/Library/Mozilla/Profiles/default/xpfzghitk.slt/pref.js
The current owner of the file is system buts needs to be changed to alchemist.