Solved

Authenticated FTP client not able to create a new directory

Posted on 2008-11-03
5
227 Views
Last Modified: 2013-12-15
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..: :-)
0
Comment
Question by:toyman25
  • 3
  • 2
5 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22866469
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
 

Author Comment

by:toyman25
ID: 22866480
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
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
ID: 22866512
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
 

Author Closing Comment

by:toyman25
ID: 31512652
Thanx. I used the command 'sudo chown -hR  ' and that fixed the whole problem.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22866592
You're welcome!
Congratulations, have fun and success!
wmp
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now