Nov 4, 2004 #1 jodugg Programmer Jun 22, 2004 9 US I have 100 files in a directory. Roughly half of them are owned by one user and the other half are owned by another user. How can I use the chown command to move ownership of ALL these files to one of the two users? Thanks!!
I have 100 files in a directory. Roughly half of them are owned by one user and the other half are owned by another user. How can I use the chown command to move ownership of ALL these files to one of the two users? Thanks!!
Nov 4, 2004 #2 vgersh99 Programmer Jul 27, 2000 2,146 US man chown chown user2own /path2directory/* vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
man chown chown user2own /path2directory/* vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+
Nov 4, 2004 #3 PHV MIS Nov 8, 2002 53,708 FR chown -R owner:group /path/to/dir Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
chown -R owner:group /path/to/dir Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Nov 14, 2004 #4 hfaix MIS Nov 25, 2003 596 US cd into your directory. chown owner:group * or chown owner * Upvote 0 Downvote