Change owner rights Mac OS X

215 Views Asked by At

I would like to change rights to a users folder on a Mac after migrating to a another domain and I have run the following command after login as admin not the actual user:

sudo chown -R $USER /Users/$USER

after pressing enter I have entered the users password, not the admin password. Just to clearify I didn´t replace USER with a username. The question is what did this command do when I omitted the correct username and just entered the password for the user?. Thanks for answering.

0

There are 0 best solutions below