![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
I’m still alive barley.
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
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
I’m still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
Thank you mate
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
I’m still alive barley.
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
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |