Tekman_1
February 19th, 2010, 11:15 AM
Hello All,
I have a vary unique problem with file and directory ownership. I need to change the ownership of multiple files and directories under a specific subdirectory.
Under this directory structure there are files and directories owned my different users and groups. I need to change all files and directories owned by "user1" to "user2". but if any are owned by "user3" I need those left alone.
Is there a simple way to do this or will I need to traverse the structure and change things one at a time.
Thanks in advance.
I have a vary unique problem with file and directory ownership. I need to change the ownership of multiple files and directories under a specific subdirectory.
Under this directory structure there are files and directories owned my different users and groups. I need to change all files and directories owned by "user1" to "user2". but if any are owned by "user3" I need those left alone.
Is there a simple way to do this or will I need to traverse the structure and change things one at a time.
Thanks in advance.