vk4tec

ftp

Fri May 20, 2016 8:00 am

I am using ftp into Pi

Using pi and raspberry

Why do I get permission denied to a put BIN

Andrew

vk4tec

Re: ftp

Fri May 20, 2016 8:02 am

As does mkdir

Heater
Posts: 16023
Joined: Tue Jul 17, 2012 3:02 pm

Re: ftp

Fri May 20, 2016 8:20 am

Presumably use pi does not have permission to write wherever FTP is trying to put those files.

Suggest using SCP instead.
Memory in C++ is a leaky abstraction .

tweak42
Posts: 533
Joined: Tue Mar 22, 2016 3:16 am
Location: Los Angeles, California

Re: ftp

Fri May 20, 2016 8:25 am

vk4tec wrote:I am using ftp into Pi

Using pi and raspberry

Why do I get permission denied to a put BIN

Andrew
I believe write permissions are disabled by default since FTP is a insecure protocol. There's a .conf file in the /etc/ directory you'll have to edit to allow write access. The name depends on which ftp server you are using.

If you have ssh working you should be able to sftp, which works just like ftp and is secure.

vk4tec

Re: ftp

Fri May 20, 2016 10:28 pm

found it

/etc/.vsftpd.conf

write enable was turned off

Andrew

Heater
Posts: 16023
Joined: Tue Jul 17, 2012 3:02 pm

Re: ftp

Fri May 20, 2016 10:47 pm

The question is: Why do you want to use FTP? And especially have it write enabled?

Better to leave it disabled, better to remove the FTP server altogether.

FTP is not secure.
Memory in C++ is a leaky abstraction .

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: ftp

Sat May 21, 2016 7:46 am

FTP is not secure, yes, but there have been lots less exploits against it, than other supposedly more secure services. Also if you limit the size of your upload directory, in my case, a 256 megabyte USB drive, it is not going to be any use to the warez types ... , nor most other folks wanting to abuse your FTP server.

If you want to keep data secure, the last place you store it is on a computer.

ej3-martin
Posts: 15
Joined: Mon May 02, 2016 7:18 am

Re: ftp

Sat May 21, 2016 7:57 am

I am not an expert on this, but I have used FTP on the pi, but swapped he protocol over to SFTP, I was able to browse all directories on my pi - details here -> https://www.raspberrypi.org/documentati ... sh/sftp.md

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: ftp

Sat May 21, 2016 8:10 am

FTP "jails" have been available and in use for ages ...

Return to “General discussion”