Solved

Authenticated FTP client not able to create a new directory

Posted on 2008-11-03
5
243 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 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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 fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

707 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