LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2013, 11:20 AM   #1
George_
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
Post vsftpd error 550 permission denied when trying to create file / folder


I am struggling to work out why when I try to ftp files to my debian server (running turnkey LAMP 12.1) I am getting a permission denied error (550 permission denied).


selinux is turned off, have checked this with sestatus and the file /etc/sysconfig/selinux doesnt exist.


I have the following settings in vsftp.conf:

Quote:
listen=YES

anonymous_enable=NO

write_enable=YES

dirmessage_enable=YES

use_localtime=YES

xferlog_enable=YES

connect_from_port_20=YES

data_connection_timeout=120

ftpd_banner=Welcome to SAMS FTP service.

chroot_local_user=YES

chroot_list_enable=NO

chroot_list_file=/etc/vsftpd.chroot_list

secure_chroot_dir=/var/run/vsftpd/empty

pam_service_name=vsftpd

rsa_cert_file=/etc/ssl/private/vsftpd.pem

log_ftp_protocol=YES

Am logging in with the cameraftp user, have given 777 permissions for testing and changed owner and group of the home folder to the user I am logging in with:

Quote:
cameraftp:x:1000:1001::/var/www/images/camera:/bin/sh

drwxrwxrwx 3 cameraftp cameraftp 4096 Jul 10 14:19 camera

Any ideas welcome.

Thanks

Last edited by George_; 07-10-2013 at 11:21 AM. Reason: tidying
 
Old 07-11-2013, 01:11 AM   #2
Linux MR
Member
 
Registered: May 2013
Location: Pacific North West
Distribution: Red Hat, Scientific, Fedora, openSuSE, Mageia, Mint, Arch
Posts: 57

Rep: Reputation: Disabled
After changing the settings in vsftpd.conf did you restart the service?

Have the log files helped you narrow the culprit? (/var/log/secure)

And lastly since the file is nested in other directories are those other directories accessible by the user in question (in other words can the user access each folder var/, www/, images/, camera)?

Food for thought, hope it helps
 
Old 09-13-2013, 05:18 AM   #3
George_
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, after a bit of tinkering it seemed to sart working, In fact I restarted the server so perhaps restarting the service would have helped.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd; 550 permission denied for upload t0bias Linux - Server 8 04-01-2011 01:39 AM
VSFTPD - 550: Permission denied. myubuntu Linux - Newbie 1 04-13-2010 03:25 PM
SAMBA ERROR: cannot create regular file `~/tux016.pdf': Permission denied mokele Linux - Software 5 02-07-2007 05:37 PM
permission denied if I want to create new folder dodo1983 Linux - Newbie 2 08-14-2004 11:46 PM
weired ProFtpd error: 550 Overwrite permission denied !! apache Linux - Software 1 07-23-2004 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration