![]() |
how do you change owners for files and dir
Hi guys what is the unix command to change a dir and a file's from one user to another user. Thanks
|
chown -v -R username.username *
This changes all the files to owner of username, for group and user. -v = verbose -R = recursive |
Thank you mate
|
um what im needing is to change the permission/user on a dir to the right owner.
[admin members]$ chown -v -R admin.va2k * chown: admin.va2k: invalid group I need it to be able to change the a dir that was setup by admin to access and useable for va2k |
obviously either admin or va2k is illegal. one is not a valid user, or the other is not a valid group. i dont remember which sets the group and which sets the user.
do a man on chown, and you'll see what it does. |
All times are GMT -7. The time now is 01:47 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123