Forum
[SOLVED] Full access via FTP - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: [SOLVED] Full access via FTP (/thread-137.html)



Full access via FTP - namtih - 28th Dec, 2012 08:02 PM

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



RE: Full access via FTP - CurlyMo - 28th Dec, 2012 08:09 PM

Just use WinSCP, about the same as FTP but then through the SSH protocol.


RE: Full access via FTP - namtih - 28th Dec, 2012 08:34 PM

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?


RE: Full access via FTP - CurlyMo - 28th Dec, 2012 08:40 PM

Not yet. Why would the CPU stress matter? Watching movies is a separate process then using SFTP and maintaining your installation right?


RE: Full access via FTP - namtih - 28th Dec, 2012 09:18 PM

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.


RE: Full access via FTP - namtih - 29th Dec, 2012 07:38 PM

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/


RE: Full access via FTP - Timan Rebel - 21st Oct, 2013 06:55 PM

(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


RE: Full access via FTP - zilexa - 28th Oct, 2013 12:27 AM

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.


RE: Full access via FTP - IriDium - 28th Oct, 2013 03:38 AM

Why don't you just use sudo apt-get install pure-ftpd.

It works for me on every install and version.

Never a problem.