Change file ownership?

smilinggoat

Registered
does anybody know if it is possible to change a file's owner from one user to another? if so, how...?


cheers,
the smiling goat

p.s. happy thanksgiving y'all
 
Any admin user can run,

Code:
sudo chown newuser filename

provide their password, and filename will now be owned by newuser.
 
... be able to do it via the Inspector window. Get info on something, then choose "Priveleges" from the popup menu, and see if you can change the owner there. It probably just issues the command that bib mentioned though. :)

By the way, in that command, it's the _PATH_ to the file from the current folder you are in. Just the file name is insufficient. The easiest way to get the path is just to type the first part of the command, and then when you need the path, just drag the file from the Finder onto a terminal window. It should input it automatically.
 
Back
Top