scp -t . - possible idea for additional parameter
guyverdh at hotmail.com
Wed Oct 3 05:42:18 EST 2007
How difficult would it be to add an additional parameter to the -t that would *lock* the user at that directory level. say -T instead of -t...
By locking, I mean translating /path/to/file as ./path/to/file, or ../../../path/../../../path/to/file as ./path/to/file.
Basically set a root point as the current home directory, then build the pathing based on that, any "../" would become "./" if the "../" would go above that home directory.
Just a thought...
Peek-a-boo FREE Tricks & Treats for You!
More information about the openssh-unix-dev