This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

550 Permission denied FTP
#1
550 Permission denied FTP
I am experiencing an strange error on Filezilla, I can't edit/remove any files.

By ssh I can remove/move/edit any files without restriction

Whats going on? How to solve?
Thanks
Reply
Thanks given by:
#2
RE: 550 Permission denied FTP
You can't use SSH and FTP on the same files, the permissions get changed.
So, if you upload files with SSH to your hosting space, then try to move or edit them with FTP it won't work because the permissions are for SSH user and not the FTP user. I'm still learning posix permissions so the exact permissions needed by the FTP user I do not know (I'm still working on switching from Windows to Unix). Me.B can help you there.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: 550 Permission denied FTP
ftp user have full access? Or only read ? Could you check that first?

You can create 3 levels of permissions in ftp:

1. read only
2. write only
3. full read/write.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#4
RE: 550 Permission denied FTP
(01-15-2015, 02:54 AM)Isleno Wrote: I am experiencing an strange error on Filezilla, I can't edit/remove any files.

By ssh I can remove/move/edit any files without restriction

Whats going on? How to solve?
Thanks

I had the same problem.
I was not able to change permissions or rename the files via FTP , so I checked the ownership of the files with ssh
# ls -l filename
result: -rw-r--r-- 1 root root 53 Apr 7 2011 filename

so the owner of all unziped files was root ,

I allsow checked the ownership of the folder public_html that server created and it was something like this
drwxrwxrwx 3 www-data www-data 4096 Nov 26 12:13 public_html

so I went out side the folder and all the files I neded to chang the ownership , the unziped files and applyed this to folder
chown -R www-data folder

after that I was able to change file permissions and rename files via FTP

Can someone confirm that is security safe method ?
Reply
Thanks given by:
#5
RE: 550 Permission denied FTP
When you upload or do anything using SSH the ownership will be different. You are always suggested to do everything through FTP as the permissions will be correct.
If you do use SSH, you need to change the files/folders ownership to www-data www-data
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Give Apache permission to see Alias setting up in Global Vhost Entry elpapoelg 1 4 ,485 05-12-2017, 10:33 PM
Last Post: Me.B
Ftp login - access denied Instanceuk 3 8 ,348 04-16-2016, 03:50 PM
Last Post: bbspike
Permission problem Totte 7 17 ,197 02-16-2016, 06:51 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)