Solved

Authenticated FTP client not able to create a new directory

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP error function not working on AWS 10 127
can i read my emails on lamp ftp 4 25
Recover Lacie Edmini data. 11 65
SSH in linux 9 69
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

733 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