Linux FTP prompts--553 could not create file (absolutely useful) __linux

Source: Internet
Author: User
Tags echo command
Linux FTP prompts--553 could not create file (absolutely useful)
Hint 553 could not create file, the owner of this directory and permissions are set up, or report this error, that carefully online check, the problem solved as follows:
Command: ftp> put back_log.txt/home/user001/
This will cause an error: 553 could not create file
Need to be changed: Ftp> put back_log.txt/home/user001/back_log.txt can print this command with the echo command.

Error tips

Current directory is/home
Ftp>!ls-l
......
-rwxr-xr-x 1 root root 146 Aug 03:30 hosts
-rw-r--r--1 root Aug 02:09 host.txt
-rw-r--r--1 root Aug 07:14 logins.txt
.....
Ftp> put Host.txt
Local:host.txt Remote:host.txt
Entering passive Mode (127,0,0,1,62,184)
Ok to send data.
The File receive OK.
Bytes sent in 0.014 seconds (3.2 kbytes/s)
Ftp> put hosts
Local:hosts remote:hosts
Entering passive Mode (127,0,0,1,174,59)
Ok to send data.
The File receive OK.
146 bytes Sent in 0.046 seconds (3.1 kbytes/s)
Ftp> put/home/hosts
Local:/home/hosts Remote:/home/hosts
Entering passive Mode (127,0,0,1,232,15)
553 could not create file.
Ftp>
Problem:ftp> Put/home/hosts and Ftp> put hosts (current directory is/home
The execution of the parameters should be the same why the previous one cannot be uploaded.

We have to analyze the reasons for this problem, probably like

1. Consider whether SELinux is the reason to disable SELinux to try
2. Perhaps the FTP folder does not write permission, confirm the directory permissions
3. Is there a write_enable=yes in the configuration file?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.