Sponsored Content
Full Discussion: configuring vsftpd
Operating Systems Linux Red Hat configuring vsftpd Post 302639443 by paruhang on Friday 11th of May 2012 07:40:17 PM
Old 05-11-2012
still cannot works

hi ,
i have done the following steps but i cannot create file inside /var/ftp/pub/files

Code:
#setsebool - P ftp_home_dir=1
# getsebool -a | grep ftp_home_dir
ftp_home_dir --> on
# service vsftpd status
vsftpd (pid 1262) is running...
# groupadd ftpusers
# useradd ashim
# passwd ashim
# pwd
/var/ftp/pub/files
# usermod -aG ftpusers -d /var/ftp/pub/files ashim
# chown root:ftpusers /var/ftp/pub/files
# chmod g+w /var/ftp/pub/files
# service vsftpd restart

i have checked after giving this command
Code:
# chown root:ftpusers /var/ftp/pub/files and
# chmod g+w /var/ftp/pub/files

# pwd
/

drwxr-xr-x.  23 root root  4096 May 11 01:41 var

pwd
/var

drwxr-xr-x.  3 root root 4096 May 11 01:41 ftp

# pwd
/var/ftp

drwxr-xr-x. 3 root root 4096 May 12 08:44 pub

# pwd
/var/ftp/pub

drwxrwxr-x. 2 root ftpusers 4096 May 12 10:03 files



i have install centos in my desktop and windows 7 on my laptop.

1) (from windows) when try to upload data in ftpserver=10.10.10.161 "/var/ftp/pub/files from my client laptop using windows 7 os the following error occurs

Code:
550 create directory operation failed

2) (in centos) when i try to make directory inside /var/ftp/pub/files/ the error occurs

Code:
# ftp 10.10.10.161
Connected to 10.10.10.161 (10.10.10.161).
220 (vsFTPd 2.2.2)
Name (10.10.10.161:khem): ashim
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/var/ftp/pub/files"
ftp> mkdir test
550 Create directory operation failed.
ftp>


Last edited by Scrutinizer; 05-11-2012 at 09:29 PM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Service + vsftpd

Hello, I have two problems: 1. The service command does not work on my system! I mean when I enter: service ... start I get: bash: service: command not found 2. I want to launch my vsftpd server. I tried to launch it using service command and you see that it didn't work! Please help... (1 Reply)
Discussion started by: HSN
1 Replies

2. Linux

VSFTPD, cannot login

I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong? ======================== CONTENTS OF /etc/vsftpd/vsftpd.conf anonymous_enable=NO local_enable=YES dirmessage_enable=YES connect_from_port_20=YES... (3 Replies)
Discussion started by: panggou
3 Replies

3. UNIX for Dummies Questions & Answers

Problem using VSFTPD

Hello, When my fellow employees loggin to the FTP server they have no problems if they use FTP clients. When they try and access the FTP site using their browsers using ftp://<domain> name all they get is a pub directory which is empty. They are not even prompted for loggin. How to fix... (2 Replies)
Discussion started by: mojoman
2 Replies

4. UNIX for Dummies Questions & Answers

VSFTPD

Hi, I am using VSFTPD. I have instructed it to send all logging informartion to /var/log/messages. I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
Discussion started by: mojoman
1 Replies

5. UNIX for Dummies Questions & Answers

vsftpd with SSL

Hi there. Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Discussion started by: andriusman
1 Replies

6. UNIX for Dummies Questions & Answers

Vsftpd not installing

$ rpm -ivh vsftpd-2.2.2-6.el6.i686.rpm warning: vsftpd-2.2.2-6.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) why is it actually happening am goin nuts plzz help me out :( (1 Reply)
Discussion started by: lost101
1 Replies

7. UNIX for Advanced & Expert Users

Vsftpd serious issues

hello mighty all there's a problem in vsftpd it allows to delete files which have 000 mode and root:root owner also 400 even with option deny_file={those_files} - still allowed i'm doing it through mc through ftp-shell it's not allowed it's not working if mother-dir have -w and not working... (3 Replies)
Discussion started by: tip78
3 Replies

8. UNIX for Dummies Questions & Answers

Vsftpd is not working

Hi, I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work. there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is... (2 Replies)
Discussion started by: alanford
2 Replies

9. UNIX for Dummies Questions & Answers

Vsftpd

Hello I am new to linux. I have recently installed vsftpd in my Centos server. I have set the local_umask=0037. But now i can't understand how the window users added in a centos server can see each-other folder. ---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Discussion started by: Maham Zahid
7 Replies

10. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
SIMPLEFTP(1)						      General Commands Manual						      SIMPLEFTP(1)

NAME
simpleftp - rudimentary ftp client SYNOPSIS
simpleftp ftp://... [ ... ] DESCRIPTION
simpleftp is a perl script that provides basic support for fetching files with FTP in a batch oriented fashion. It takes one or more ftp URLS on the command line. The file(s) will be retrieved from the remote server and placed in the current directory with the same basename as on the remote; i.e., ftp://ftp.isc.org/pub/usenet/CONFIG/active.gz is stored as active.gz in the current directory. BUGS
simpleftp is an extremely poor substitute for more complete programs like the freely available wget or ncftp utilities. It was written only to provide elementary support in INN for non-interactive fetching of the files in ftp://ftp.isc.org/pub/usenet/CONFIG/ without requir- ing administrators to install yet another package. Its shortcomings as a general purpose program are too numerous to mention, but one that stands out is that simpleftp does not understand the complete syntax of URLs, only the hostname and pathname parts -- it will not under- stand username, password, port or parameter strings. HISTORY
Tossed off by David C Lawrence <tale@isc.org> for InterNetNews. SEE ALSO
actsync(8). SIMPLEFTP(1)
All times are GMT -4. The time now is 02:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy