Меню

Ftp ошибка 550 ubuntu

Всем доброго времени суток.
Ftp+mysql+php ставил  вот по этому мануалу http://sudouser.com/ustanovka-i-nastrojka-vsftpd-mysql-ubuntu-debian

в итоге авторизацию прохожу чтение есть а вот запись и создание папок не могу  пишет
550: Create directory operation failed.

в чем проблема понять не  могу  :(

#
#vsftpd.conf
#
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
nopriv_user=vsftpd
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
guest_enable=YES
guest_username=vsftpd
local_root=/home/vsftpd/$USER
user_sub_token=$USER
virtual_use_local_privs=YES
user_config_dir=/etc/vsftpd_user_conf

Логи

Tue Jul  8 11:56:00 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 11:56:10 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:56:17 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 11:56:22 2014 [pid 4] [kirill] FAIL MKDIR: Client «192.168.0.4», «/1/1»
Tue Jul  8 12:03:40 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 12:03:40 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 12:03:47 2014 [pid 4] [kirill] FAIL MKDIR: Client «192.168.0.4», «/11»
Tue Jul  8 12:15:26 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 12:15:26 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 12:15:37 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 12:15:44 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 12:15:51 2014 [pid 4] [kirill] OK DOWNLOAD: Client «192.168.0.4», «/vsftpd.conf», 443 bytes, 46.49Kbyte/sec
Tue Jul  8 12:16:40 2014 [pid 4] [kirill] OK DOWNLOAD: Client «192.168.0.4», «/vsftpd.conf», 443 bytes, 26.94Kbyte/sec
Tue Jul  8 12:23:41 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 12:23:47 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 12:23:56 2014 [pid 4] [kirill] FAIL MKDIR: Client «192.168.0.4», «/tru»

Tue Jul  8 11:07:02 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:07:09 2014 [pid 1] [kk] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 11:07:16 2014 [pid 4] [kk] FAIL MKDIR: Client «192.168.0.4», «/1»
Tue Jul  8 11:10:11 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:10:11 2014 [pid 1] [ftp] OK LOGIN: Client «192.168.0.4», anon password «kk»
Tue Jul  8 11:43:38 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:43:49 2014 [pid 1] [kirill] FAIL LOGIN: Client «192.168.0.4»
Tue Jul  8 11:43:56 2014 [pid 1] [kk] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 11:43:59 2014 [pid 5] [kk] FAIL MKDIR: Client «192.168.0.4», «/1»
Tue Jul  8 11:47:27 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:47:35 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 11:47:39 2014 [pid 4] [kirill] FAIL MKDIR: Client «192.168.0.4», «/1»
Tue Jul  8 11:48:39 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:48:45 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»
Tue Jul  8 11:48:49 2014 [pid 4] [kirill] FAIL MKDIR: Client «192.168.0.4», «/asdf»
Tue Jul  8 11:56:00 2014 [pid 2] CONNECT: Client «192.168.0.4»
Tue Jul  8 11:56:00 2014 [pid 1] [kirill] OK LOGIN: Client «192.168.0.4»

I’m attempting to upload files to my remote server via FTP, but I continually get blocked from uploading files with «550 Permissions Denied».

The strange part is that it worked at first perfectly, an only now has it stopped working. The user I am logged into has the proper privileges, but I still can’t upload.

Any help?

asked Aug 18, 2010 at 3:45

GuyNoir's user avatar

3

I had the exact same issue with vsftpd. Error 550 no quota problems, no permissions problems but the error was still there. Uninstalled vsftpd, installed proftpd and everything worked like a charm…

answered Aug 19, 2010 at 5:45

The Disintegrator's user avatar

1

A 550 Error means «Requested action not taken. File unavailable, not found, not accessible.» Since the file is available that means the server isn’t accessible. That most likely means one of the following:

  • You have used your Transfer Quota up, Tim Post suggusted this
  • You have used up your server space Quota
  • Your account has been locked by the hosting company due to some issue like not paying or a clerical mistake on their part (this happens)
  • Your host’s ftp server is having an authentication issue
  • Someone hacked your account or the ftp server. I have seen this happen but they weren’t able to change the ftp passwords.

Check with the hosting company to make sure you have not used up one of your Quotas. You should be able to do this through their website. If that isn’t the case then give them a call and let them know what is happening. They will be able to check your account and see if it is locked or having some kind of issue. Usually they will even reset your password for you if that is the issue for some reason. If this isn’t a quota issue then it is probably an issue on their site and contacting them is the fastest way to fix it.

Also, it would be helpful if you give us the name of your host. If you aren’t hosting then you need to log in to your remote server and check on your ftp server software. It has most likely had an error.

answered Aug 18, 2010 at 12:21

Ben Hoffman's user avatar

Ben HoffmanBen Hoffman

12.8k4 gold badges40 silver badges62 bronze badges

4

I’m attempting to upload files to my remote server via FTP, but I continually get blocked from uploading files with «550 Permissions Denied».

The strange part is that it worked at first perfectly, an only now has it stopped working. The user I am logged into has the proper privileges, but I still can’t upload.

Any help?

asked Aug 18, 2010 at 3:45

GuyNoir's user avatar

3

I had the exact same issue with vsftpd. Error 550 no quota problems, no permissions problems but the error was still there. Uninstalled vsftpd, installed proftpd and everything worked like a charm…

answered Aug 19, 2010 at 5:45

The Disintegrator's user avatar

1

A 550 Error means «Requested action not taken. File unavailable, not found, not accessible.» Since the file is available that means the server isn’t accessible. That most likely means one of the following:

  • You have used your Transfer Quota up, Tim Post suggusted this
  • You have used up your server space Quota
  • Your account has been locked by the hosting company due to some issue like not paying or a clerical mistake on their part (this happens)
  • Your host’s ftp server is having an authentication issue
  • Someone hacked your account or the ftp server. I have seen this happen but they weren’t able to change the ftp passwords.

Check with the hosting company to make sure you have not used up one of your Quotas. You should be able to do this through their website. If that isn’t the case then give them a call and let them know what is happening. They will be able to check your account and see if it is locked or having some kind of issue. Usually they will even reset your password for you if that is the issue for some reason. If this isn’t a quota issue then it is probably an issue on their site and contacting them is the fastest way to fix it.

Also, it would be helpful if you give us the name of your host. If you aren’t hosting then you need to log in to your remote server and check on your ftp server software. It has most likely had an error.

answered Aug 18, 2010 at 12:21

Ben Hoffman's user avatar

Ben HoffmanBen Hoffman

12.8k4 gold badges40 silver badges62 bronze badges

4

550 permission denied vsftpd
Поднимаю ftp сервер на Debian 9. При попытке создать директориюфайл выскакивает ошибка. Необходимо дать разрешение единственному пользователю (ftpuser) полный доступ к шаре. Что я делаю не так?
Спасибо.
Здесь конфиг - /etc/vsftpd.conf.
Сообщение об ошибке на стороне клиента.

задан 17 авг 2019 в 19:55

Tody Todz's user avatar

Частая ошибка, для начала убедитесь в наличии строки write_enable=YES в конфиге сервера .
Если после этого, ничего не поменялось, то проверьте права у папки на сервере, ftp пользователь должен иметь права на запись в них. Для установки прав на папку воспользуйтесь командой:
sudo chmod -R ftpuser:ftpuser /path/to/folder

ответ дан 17 авг 2019 в 20:26

stikls's user avatar

stiklsstikls

271 серебряный знак9 бронзовых знаков

5

В итоге работает. Просто использовал userlist и убрал полностью всё про guest.

ответ дан 27 авг 2019 в 16:20

Tody Todz's user avatar

Introduction

Out of the box, the ‘vsftpd’ server doesn’t allow you to write data to the server. To allow this, you must change the vsftpd configuration and then restart the service.

The Problem

After you’ve installed VSFTPD (on Ubuntu: ‘apt-get install vsftpd’) you can download files using FTP from your VSFTPD server. However, if you try to write files back to your server you get this error:

troy@bahamas:~$ sudo service vsftpd restart
vsftpd start/running, process 2694
troy@bahamas:~$ ftp bahamas
Connected to bahamas.
220 (vsFTPd 2.3.0)
Name (bahamas:troy): troy
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

ftp> put troygeek.sql
local: troygeek.sql remote: troygeek.sql
200 PORT command successful. Consider using PASV.
550 Permission denied.
ftp>

The Solution

To solve this, edit your vsftpd.conf file:

sudo vi /etc/vsftpd.conf

…and uncomment the write_enable line to look like this:

# Uncomment this to enable any form of FTP write command.
write_enable=YES

Once uncommented, restart your VSFTPD service:

troy@bahamas:~$ sudo service vsftpd restart
vsftpd start/running, process 2704

…and you should now be able to write files to your FTP server. If you still have trouble, ensure you have the correct filesystem permissions for the user you are FTP’ing as.

I suddenly get the error 550: Permission Denied in Filezilla when I try to create a new directory.

A few days ago I changed some settings on the server regarding ssl and imap settings, but I don’t think this has affected the FTP settings …

Anyhow, after long googling nothing seems to work. The main idea could be that the user hasn’t got permissions, but the interesting thing is that I can:

  • create files
  • delete files
  • delete directories

But not creating directories. I get the error «550 Permission denied» in the main directory and «550 access_log: No such file or directory» in the subdirectory.

Anyone knows where the error could be? Thanks

asked May 24, 2014 at 23:35

user221156's user avatar

1

Use below parameter in vsftpd.conf to give permission to anonymous user or script in linux machine.

  • write_enable=YES
  • anon_mkdir_write_enable=YES

answered Aug 25, 2018 at 7:00

sanjeev soni's user avatar

Assuming you are on Linux, Go up one directory, and see if the user has permissions there. For example:

Try setting the permissions on the directory to 777. If it works you know you have a problem with the permissions. DO NOT leave the directory at 777, it is not secure, just for quick testing. 755 is usually appropriate if you have everything set up correctly. You can also try adding the user to the group that owns the directory (you can do this through ls -l). This will tell you what user owns that.

answered May 25, 2014 at 2:54

David Eisen's user avatar

David EisenDavid Eisen

6435 silver badges21 bronze badges

3

I got a 550 using FTP with Filezilla because regular FTP didn’t have high enough permissions on my server.

I switched to an SSH/SFTP connection and that fixed it.

answered Sep 18, 2014 at 19:03

Kozy's user avatar

KozyKozy

1313 bronze badges

Filezilla project has a good piece on Securing your Windows Service installation. In essence:

Create User

  1. Close the Filezilla interface (if open)
  2. Stop the Filezilla service
  3. Create a User level (not Administrator level) Windows account for FileZilla service to run under, with «password never changes»
  4. In Services, open Filezilla properties, Log On tab and change to run with the new account

Folder Permissions

  1. Give Write permissions to the new user on C:Program Files (x86)FileZilla ServerFileZilla Server.xml
  2. If you use logging, set «Write» access to C:WindowsLogs
  3. On target FTP upload folders set «Full Control» to each topmost writable folder you want to use

Restart Service

answered Sep 3, 2017 at 21:31

SushiGuy's user avatar

If someone ended here searching for Command: PWD Response: 550 PWD: Permission denied instead, check the for the presence of .ftpaccess file in the home dir, in my case it was causing the error.

answered Mar 2, 2021 at 16:07

lainatnavi's user avatar

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ftp ошибка 530 filezilla
  • Ft9 ошибка vacon частотный преобразователь