While using internal sftp server, need to access files outside chroot
Raghu Udupa
rudupa at easylink.com
Fri Jun 8 12:54:11 EST 2012
Thanks all.
After a complete file is received, I will be moving file from say, inbox directory to received directory. Only files in received directory are going to be picked up and after successful copy, removed.
Regards,
Raghu
________________________________
From: Nico Kadel-Garcia [nkadel at gmail.com]
Sent: Thursday, June 07, 2012 7:47 PM
To: Raghu Udupa
Cc: Ángel González; openssh-unix-dev at mindrot.org
Subject: Re: While using internal sftp server, need to access files outside chroot
On Thu, Jun 7, 2012 at 5:14 PM, Raghu Udupa <rudupa at easylink.com<mailto:rudupa at easylink.com>> wrote:
Angel,
I need to provide a set of users only SFTP access. But files these users put need to be copied to a generic queue directory.
Your first solution of having a custom script to copy the file to generic queue dir would work.
Can you think of a better way to move files given my requirements?
Thanks,
Raghu
If the propagation doesn't have to be instantaneous, "rsync" between the source and target locations run from a cron job should work quite well.
More information about the openssh-unix-dev
mailing list