![]() |
Make a file owned by root owned by a user
Could someone tell me how to change who owns a certain file? Right now it's owned by root.
|
Become root, and do
chown <user>:[<group>] file Cheers, Tink |
Check out the man page for 'chown' and the others - 'chgrp', 'chmod'. Basically 'chown user:group file' as root. Make sure it *should* be changed though, as it can be a security issue.
|
All times are GMT -5. The time now is 01:46 PM. |