Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-28-2002, 08:05 AM   #1
Va2k
I’m still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
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
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-28-2002, 08:07 AM   #2
Juge
Confirmed User
 
Join Date: Feb 2001
Posts: 1,917
chown -v -R username.username *

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

Last edited by Juge; 09-28-2002 at 08:08 AM..
Juge is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-28-2002, 08:11 AM   #3
Va2k
I’m still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
Thank you mate
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-28-2002, 08:16 AM   #4
Va2k
I’m still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
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
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-28-2002, 10:30 AM   #5
Juge
Confirmed User
 
Join Date: Feb 2001
Posts: 1,917
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.
Juge is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.