Forum

Full Version: Full access via FTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone please guide me, how to get full access to all files via FTP?
I want to be able to edit, create and delete all files in all directories via FTP, but I don't manage to get it working.
I'm only allowed to upload files in my home directory.

My steps: pure-ftpd
Code:
sudo apt-get install pure-ftpd-common pure-ftpd
cd /etc/pure-ftpd/conf
echo no > ChrootEveryone
echo yes > IPV4Only
echo yes > DisplayDotFiles
echo yes > DontResolve
echo no > PAMAuthentication
echo 0 > MinUID
echo 5 > MaxIdleTime
/etc/init.d/pure-ftpd restart
Just use WinSCP, about the same as FTP but then through the SSH protocol.
I think SFTP would be stressful for the CPU.
I connected through FTP and also get "Access denied" for e.g. </home/xbian/.xbmc>.

Do you see another option/method via basic FTP?
Not yet. Why would the CPU stress matter? Watching movies is a separate process then using SFTP and maintaining your installation right?
I want to transfer files with an size of 3 to 6GB and I think the encryption could slow it down.
So I planned to use FTP, but I don't manage to get rid of this access restriction since 2 days.
My solution for now:
Code:
cd /etc/pure-ftpd/conf
echo yes > UnixAuthentication
/etc/init.d/pure-ftpd restart
And an enabled root-login.

And if someone also replaced the openssh client with Dropbear, this might help for a smarter solution:
http://www.cybermilitia.net/2009/02/28/dropbear-on-debian/
(29th Dec, 2012 07:38 PM)namtih Wrote: [ -> ]And if someone also replaced the openssh client with Dropbear, this might help for a smarter solution:
http://www.cybermilitia.net/2009/02/28/dropbear-on-debian/

Someone has: https://extremeshok.com/2012/07/22/raspberry-pi-raspbian-tuning-optimising-optimizing-for-reduced-memory-usage/

Smile
I simply use CyberDuck on Win and Mac and have been transferring folders of up to 9GB simply by using sftp. Ofcourse NFS would be better but it was a bit complicated and I didn't bother.
Why don't you just use sudo apt-get install pure-ftpd.

It works for me on every install and version.

Never a problem.
Reference URL's