Displaying 1 result from an estimated 1 matches for "savemod".
Did you mean:
savemode
2002 Nov 05
2
[PATCH] fix sftp to preserve permissions and uid/gid
...;
u_int64_t offset, size;
! u_int handle_len, mode, type, id, buflen;
struct request {
u_int id;
u_int len;
--- 796,802 ----
int local_fd, status, num_req, max_req, write_error;
int read_error, write_errno;
u_int64_t offset, size;
! u_int handle_len, mode, type, id, buflen, savemode;
struct request {
u_int id;
u_int len;
***************
*** 763,773 ****
return(-1);
/* XXX: should we preserve set[ug]id? */
! if (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS)
mode = S_IWRITE | (a->perm & 0777);
! else
mode = 0666;
!
if ((a->flags...