[ubuntu-uk] Changing ownership.......

Jonathon Fernyhough j.fernyhough at gmail.com
Thu Aug 13 14:18:23 BST 2009


2009/8/13 John Matthews <jakewc2 at sky.com>:
> Hi, I wonder if somebody can help. I have uploaded a something to my
> server, I need to change the ownership. I managed to change the folders
> ownership, but not everything inside.
>
> the script I used was
>
> sudo chown www-data:www-data and filename
>
> I think I need to add the -R some where to make it recursive, but not
> sure where to add it. Should it be after the filename, or before.
>
> Thank you.
>
> John.

$ sudo chown -R www-data:www-data datadirectory

$ chown --help
$ man chown



More information about the ubuntu-uk mailing list