Hi, I want to set up ProFTP to use "/" as root directory when I log via FTP client. How's that possible? Tried to set "/" as path directory but it seems not working.
Thank you!
ProFTP, use the root directory?
- lucasmenno
- Posts: 63
- Joined: Sun Jul 23, 2017 11:57 am
- Location: Germany
Re: ProFTP, use the root directory?
In .
and restart proftpd (i think)
writeproftpd.conf
Code: Select all
DefaultRoot /
and restart proftpd
Code: Select all
service proftpd restart
Everything i say can and maybe will be corrected by the DietPi seniors in this forum 
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.

BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
Re: ProFTP, use the root directory?
Yeah, when I said:
I mean that I just tried with no success. Cannot see the root of my MicroSD.
Code: Select all
Tried to set "/" as path directory but it seems not working.
- lucasmenno
- Posts: 63
- Joined: Sun Jul 23, 2017 11:57 am
- Location: Germany
Re: ProFTP, use the root directory?
Did you try setting Proftpd as root user?
Everything i say can and maybe will be corrected by the DietPi seniors in this forum 
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.

BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
Re: ProFTP, use the root directory?
Yes, tried.
- lucasmenno
- Posts: 63
- Joined: Sun Jul 23, 2017 11:57 am
- Location: Germany
Re: ProFTP, use the root directory?
Got it working with: set in proftpd.conf.
Never liked proftpd, ot it didn't liked me, but i hope this is what you searched for
Code: Select all
DefaultRoot / root
DefaultChdir / root
Never liked proftpd, ot it didn't liked me, but i hope this is what you searched for

Everything i say can and maybe will be corrected by the DietPi seniors in this forum 
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.

BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
Re: ProFTP, use the root directory?
Damn, worked! Thank you very much!lucasmenno wrote:Got it working with:set in proftpd.conf.Code: Select all
DefaultRoot / root DefaultChdir / root
Never liked proftpd, ot it didn't liked me, but i hope this is what you searched for
Re: ProFTP, use the root directory?
Hi, it seems that I don't have write permissions. With an FTP client I get 500: Permission denied.
Re: ProFTP, use the root directory?
Did you ever resolve this? I just setup dietpi for the first time with ProFTPD.crik91 wrote:Hi, it seems that I don't have write permissions. With an FTP client I get 500: Permission denied.
I am able to connect from my Mac using Filezilla to Pi using user: root and pw: dietpi, but one line states "Insecure server, it does not support FTP over TLS."
When I try to transfer files to Pi, I get "Response: 550 background.jpg: Permission denied. Error: Critical file transfer error after transferring 262,144 bytes in 1 second"
Any help would be greatly appreciated!
There's two things you should never have to watch being made. One is music, and the other is sausages.
Re: ProFTP, use the root directory?
wr1nkles wrote:Did you ever resolve this? I just setup dietpi for the first time with ProFTPD.crik91 wrote:Hi, it seems that I don't have write permissions. With an FTP client I get 500: Permission denied.
I am able to connect from my Mac using Filezilla to Pi using user: root and pw: dietpi, but one line states "Insecure server, it does not support FTP over TLS."
When I try to transfer files to Pi, I get "Response: 550 background.jpg: Permission denied. Error: Critical file transfer error after transferring 262,144 bytes in 1 second"
Any help would be greatly appreciated!
It connects with user:dietpi pw:dietpi. What is that about?
There's two things you should never have to watch being made. One is music, and the other is sausages.