Re: scp/sftp & CWD
Brought to you by:
xystrus
From: MAL <ma...@ko...> - 2003-07-08 15:15:19
|
Derek Martin wrote: [ ideas for improvement ] Thanks, I'll look into coding that. > -=-=-=- > > FWIW, what I would do to solve your problem is create the users' home > directories and the configurations in them as root, and leave them > owned by root, making them non-writable to the user. Then create a > directory within those home dirs called something like "files", where > they could cd to using sftp, to do their file transfers. If you're > serving out the stuff that's there via web server, it's a simple > matter to tell the server to treat that new directory as the users' > public_html directories... > > If they use scp instead of sftp, it's a simple matter to copy files > there, i.e.: > > scp myfile.html server:files/ > > No cd-ing necessary. I'm afraid we host 100+ simpletons who just _will not_ understand/comprehend that. It's hard enough getting them to understand how to connect for upload in the first place. Thank you kindly for your input though, i'll get back to you as soon as I make some progress :) Cheers, MAL |