PDA

View Full Version : Is there a command that gives you ownership of a folder and all it's sub-folders



royeo
1st June 2007, 07:55 PM
I have Fedora Core 5 and use KDE.

I am able to change ownership of a folder with "chown ID directory" (no quotes). But I would like to be able to change the ownership of that folder/directory and all sub-folders. Can someone tell me if it's possible and if so, how to do it?

Thanks,

royeo

JordanN
1st June 2007, 07:59 PM
From the terminal:

chown -R username:usergroup directory/