Authenticated FTP client not able to create a new directory

I have installed an Ubuntu server version 8.4 with a default user with rights to do "sudo". :-)
(This is of course not the 'root' user). Then I installed the VSFTP-server, and used the created user as a login-user to the ftp-server. So far, so good. But when I try to create a new directory on my ftp-site on the Ubuntu-server it fails.

When I connect to the server using PUTTy I have to do a 'sudo mkdir <directory name>' to accomplish this operation.

How can I solve this problem ?  I am fairly new to Linux, but I have Windows-experience..: :-)
toyman25Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
woolmilkporcConnect With a Mentor Commented:
Hi,
permissions have to be set on your Ubuntu box.
Log in as root and either give the parent directory of your future new directory to your user (by issuing chown)
or
put your user in a group that has the appropriate rights to that directory.
 
wmp
0
 
woolmilkporcCommented:
Hi,
I think you will not be able to force a ftp client using sudo to create folders.
You will need an user with the appropriate permissions (without sudo)
wmp
0
 
toyman25Author Commented:
OK. But what permissons must I set and where do I set them ?
That is my problem. I am not able to use this user, and 'root' is not allowed to login in via ftp.
So: Where do I set these permissons, and which permissions must be set ?
(I'm in a hurry....)

0
 
toyman25Author Commented:
Thanx. I used the command 'sudo chown -hR  ' and that fixed the whole problem.
0
 
woolmilkporcCommented:
You're welcome!
Congratulations, have fun and success!
wmp
0
All Courses

From novice to tech pro — start learning today.