chown "www" and "ftp" Directories

I use openSUSE 11.0 and have Install Apache 2.2 I encounter problems when I write to the Directory htdocs and I have read In the Install Instructions it is necessary to change user of the Directories www and ftp with the UNIX Command chown.
I dont know if I have the right syntax ?
chown -R Vanilla47 /srv/www /srv/ftp:(
Verry Thankfull for some Advise or Tips
Sincerely
Urban Salomon Avierfjärd
Gråbo,Visby,Gotland,Baltic Sea,Sweden
webmaster@vanilla47.com

The syntax is correct and will give Vanilla47 ownership of the directories.

Here is a good place to go if you want to learn more about commands

Geoff
PS Welcome to the forum!
(Välkommen)

I get “Operation not permitted”:frowning:

Is There any other way to change ownership of a Directory

Did you do the command in a console, changing to superuser/root first ? e.g.
1 ) open console/terminal
2 ) type su & press enter
3 ) type root’s password & press enter,it will not be seen, as you type,for security reasons
4 ) type necessary command & press enter

Andy

ThankYou Verry Much !:slight_smile: