GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   how do you change owners for files and dir (https://gfy.com/showthread.php?t=79493)

Va2k 09-28-2002 08:05 AM

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

Juge 09-28-2002 08:07 AM

chown -v -R username.username *

This changes all the files to owner of username, for group and user.
-v = verbose
-R = recursive

Va2k 09-28-2002 08:11 AM

Thank you mate

Va2k 09-28-2002 08:16 AM

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

Juge 09-28-2002 10:30 AM

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