?
Solved

Authenticated FTP client not able to create a new directory

Posted on 2008-11-03
5
Medium Priority
?
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1200 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

771 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