[Solved] FTP 553 Could not create file.

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat [Solved] FTP 553 Could not create file.
# 1  
Old 09-10-2013
[Solved] FTP 553 Could not create file.

Hi,
We have one server - "ftpserver", just setup with RedHat 5.7.

ftpserver is able to get & put from another server, however, other server are unable to get or put in the ftpserver.

Code:
# su - ftpuser
$ pwd
/home/ftpuser
$ cd ..
$ ls -ltr
drwxrwxrwx 3 ftpuser ftpuser 4096 Sep 10 09:19 ftpuser

Code:
# more ftpusers  [ & also user_list]
# Users that are not allowed to login via ftp
#root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

From another server,
Code:
Connected to ftpserver.
220 (vsFTPd 2.0.5)
User (ftpserver:(none)): ftpuser
---> USER ftpuser
331 Please specify the password.
Password:
---> PASS ftpuser
230 Login successful.
ftp> put test_put.txt
---> PORT 172,16,101,120,216,45
200 PORT command successful. Consider using PASV.
---> STOR test_put.txt
553 Could not create file.

---------- Post updated at 11:05 AM ---------- Previous update was at 10:56 AM ----------

Found the solutions.
By running # setsebool -P ftp_home_dir 1, it is running correctly.

Code:
---> STOR test_put.txt
150 Ok to send data.
226 File receive OK.

Hope this will be useful for others having the same problem.

Thanks.

Last edited by beginningDBA; 09-10-2013 at 12:26 AM..
This User Gave Thanks to beginningDBA For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

[Solved] Not able to delete/create file in /tmp

This is AIX box and I am not able to create or delete file in /tmp though space is there root@ttcols01/ #touch /tmp/test_file touch: 0652-046 Cannot create /tmp/test_file. root@ttcols01/ #mkdir /tmp/test_dir mkdir: 0653-358 Cannot create /tmp/test_dir. /tmp/test_dir: Invalid file system... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. Shell Programming and Scripting

[Solved] How to create a script by combing two files?

I am trying to generate a csv file for utilization of each project directory. there are 10 filesystem and for each filesystem there are 16 directory. i was trying to create a script so i created two file. one is filesystem and one is project. so file looks like cat filesystems /app1 /app2... (10 Replies)
Discussion started by: anshu ranjan
10 Replies

3. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

4. HP-UX

[Solved] HOW TO CREATE VM IN HP UX 11.31

can any one tell me ..HOW TO CREATE VM IN HP UX 11.31 V3... (2 Replies)
Discussion started by: hsejar123
2 Replies

5. Shell Programming and Scripting

[Solved] how to create multiple directory in one mkdir command

Hi, Unix Gurus, - I have a simple question, I need create multiple directory. I use mkdir {dir1, dir2, dir3) I got one directory as {dir1, dir2, dir3} I searched @ google, I got answer as above code.:wall::confused: Anybody has any idea Thanks in advance ---------- Post updated... (3 Replies)
Discussion started by: ken002
3 Replies

6. Shell Programming and Scripting

FTP Error 553 I/O error.

Hi All, I have a problem when uploading txt file from windows to Unix server. I got 533 I/O error. I am using .bat file and it works for other batches but with this particular batch it doesn't work. thanks guys for helping in advance. (2 Replies)
Discussion started by: sfaqih
2 Replies

7. Solaris

ftp 553

hello i want to put a file on a rmote system. the file is owned by the user but the parent folder is owned by root. when I cd to the folder where this file exists, I can "put" the file. when I do not cd the folder, and do put "full path of the file", I receive error 553. any idea?... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

8. Shell Programming and Scripting

How do I access the create date from Windows after the file has been FTP'd to UNIX ?

I run an application that creates a hostname_log.txt file on the c:\ of each windows workstation. At the end of each day, these log files are FTP'd to a directory on a UNIX box. When I run "ls -lrt", the timestamp that is displayed is the timestamp that the FTP occured, not the timestamp... (2 Replies)
Discussion started by: gavman99
2 Replies

9. Shell Programming and Scripting

FTP 553 error

Hi , I am doing a ftp file transfer to a remote system.I got an error like "553 FTP_ASCII_PUSH: Permission denied. (upload). " please help (1 Reply)
Discussion started by: Satyak
1 Replies

10. Shell Programming and Scripting

FTP is using shell scripts create ? for file

ftp -n -v <<EOF verbose open 3.57.40.79 user infodvlp pr0gram ascii lcd /home/a501420038/GLA/Success_Load/ cd /ftp/SrcFiles/csg/InstruAsia/ get AU_Success_Log.txt close quit EOF Please help on this, this gives the out put "AU_Success_Log.txt?" As question mark in the last what will... (1 Reply)
Discussion started by: a501420038
1 Replies
Login or Register to Ask a Question