Loic Domaigne <loic-> wrote:
> First I'd like to apologize if I ask the wrong NG, or if my
> description of the problem is a bit too UNIXish and not MACish
> enough... But, unfortunately, I never worked with MAC before. So, pls,
> let me known.
>
> A friend of mine lost all her files, because her husband intentionally
> deleted from the MAC OS X GUI all the existing accounts (also her
> account, his account and sysAdmin account). She lost very important
> files - both from a business and personal perspectives. Unfortunately,
> she didn't made any backup (That's, elas, how people usually learn why
> they should backup).
>
> So, I tried today to get a picture what could be done, and so on.
> Using the Unix Terminal, I found out that the user accounts seems to
> be still there. They got apparently renamed from "/Users/User Name" to
> "/Users/User Name Deleted" (The right name is "/Users/User Name
> Geloescht" but I guess that's due to the fact that the German language
> is selected by default).
>
> We were able to copy all those files in a newly created user account,
> as well set the right ownership and right access. But, when we try to
> open a file, we got the following message (again free translation from
> de->us) from the application:
>
> "wrong access right, or the file has been locked already."
>
> So, there still something to do in order to restore the account...
> Does someone have ideas / hints / pointers how to proceed??? That
> would be really nice!
The files probably still belong to the deleted user, so access is denied
if you try to open them while logged in as another user. Logging in as
'root' should give you access to the files and give you the possibility
to change their privileges to the new user. Another thing you may try
(and try it first) is to run Disk Utility and run 'Repair Privileges'.
If you placed the files in the home directory of the new user, then Disk
Utility may be intelligent enough to know that the privileges should be
set for that user and change them if they aren't.
--
Johan W. Elzenga johan<<at>>johanfoto.nl
Editor / Photographer
http://www.johanfoto.nl/