View | Details | Raw Unified | Return to bug 431
Collapse All | Expand All

(-)../openssh-3.4p1/scp.c (+7 lines)
Lines 122-127 Link Here
122
/* This is set to zero if the progressmeter is not desired. */
122
/* This is set to zero if the progressmeter is not desired. */
123
int showprogress = 1;
123
int showprogress = 1;
124
/* deny client write operations */
125
int readonly = 0;
126
124
/* This is the program to execute for the secured connection. ("ssh" or -S) */
127
/* This is the program to execute for the secured connection. ("ssh" or -S) */
125
char *ssh_program = _PATH_SSH_PROGRAM;
128
char *ssh_program = _PATH_SSH_PROGRAM;
Lines 307-312 Link Here
307
               exit(errs != 0);
310
               exit(errs != 0);
308
       }
311
       }
309
       if (tflag) {
312
       if (tflag) {
313
               if (readonly) {
314
                       run_err("permission denied");
315
                       exit(1);
316
               }
310
               /* Receive data. */
317
               /* Receive data. */
311
               sink(argc, argv);
318
               sink(argc, argv);
312
               exit(errs != 0);
319
               exit(errs != 0);

Return to bug 431