Disabling chroot #938
-
Can we disable chroot in sftpgo instead of using prefix ? Eg: If i create user named ftpusr with it's folder path /app/data/ftpusr and another user named ftpusr2 with /app/data/ftpusr2. While accessing these folders via script, I have to provide path till /app/data/ for both the users, So there is no use of prefix here. Thank you drakkan for such wonderful utility, Please let me know if i made any mistake understanding this prefix logic. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi, chroot cannot be disabled but I'm not sure to understand your question. Are you using local filesystem or a cloud backend? If you set the home dir for |
Beta Was this translation helpful? Give feedback.
-
Thanks for replying. We are using SFTP server which is not chrooted, We use it to fetch/push data in various automation activity. Because the SFTP server is not chrooted we implement previously, there are more than 100 scripts in which full path is mentioned like for When i use SFTPGo and set prefix to So If we want to migrate to SFTPGO from our SFTP server, we have to make changes to 100+ scripts, so prefix is not useful here. |
Beta Was this translation helpful? Give feedback.
-
I was using SFTPGo 2.2.2 version so haven't seen start directory feature. I tried both the methods suggested by you and both are working great especially the start directory, it resolved my query. Thank you for constantly updating this project. |
Beta Was this translation helpful? Give feedback.
I was using SFTPGo 2.2.2 version so haven't seen start directory feature. I tried both the methods suggested by you and both are working great especially the start directory, it resolved my query.
Thank you for constantly updating this project.