Displaying 4 results from an estimated 4 matches for "666,672".
2002 Nov 05
2
[PATCH] fix sftp to preserve permissions and uid/gid
...presumably so it can write the file).
Sftp also fails to preserve the uid/gid. Added code so that if is running
as root, uid and gid are preserved.
patch is based on Openssh 3.4p1.
*** sftp-client.c@@\main\1 Tue Oct 1 17:26:20 2002
--- sftp-client.c Tue Nov 5 10:22:52 2002
***************
*** 666,672 ****
status = get_status(conn->fd_in, id);
if (status != SSH2_FX_OK)
! error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath,
newpath, fx2txt(status));
return(status);
--- 666,672 ----
status = get_status(conn->fd_in, i...
2002 Nov 05
0
[PATCH] Add getlink command to sftp
...dds a new command to sftp which performs this transfer. Note
that it uses messages that already exist in the protocol between client and
server.
This diff is based on OpenSSH 3.4p1.
*** sftp-client.c@@\main\1 Tue Oct 1 17:26:20 2002
--- sftp-client.c Wed Oct 23 15:57:34 2002
***************
*** 666,672 ****
status = get_status(conn->fd_in, id);
if (status != SSH2_FX_OK)
! error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath,
newpath, fx2txt(status));
return(status);
--- 666,672 ----
status = get_status(conn->fd_in, i...
2007 Feb 13
0
[Bug 1284] allow sftp when rlogin=false
...pw->pw_name, S_RLOGIN, NULL, &msg);
+ result = loginrestrictions(pw->pw_name, 0, NULL, &msg);
if (result == 0)
permitted = 1;
/*
--- openssh-4.3p2/session.c Tue Feb 7 17:18:55 2006
+++ 52/session.c Sun May 14 05:19:16 2006
@@ -660,532 +666,672 @@
debug("Forced command '%.900s'", command);
}
+ /* if remote login is set to false in "/etc/security/user",
+ you should still be able to "sftp" but not "ssh" */
+ if (!rlogin) {
+ if...
2001 Jan 18
1
sigchld_handler2.
...ed Jan 17 16:01:41 EST 2001
***************
*** 109,115 ****
int save_errno = errno;
debug("Received SIGCHLD.");
child_terminated = 1;
- signal(SIGCHLD, sigchld_handler2);
errno = save_errno;
}
--- 109,114 ----
***************
*** 667,672 ****
--- 666,672 ----
if (child_terminated) {
while ((pid = waitpid(-1, &status, WNOHANG)) >
0)
session_close_by_pid(pid, status);
+ signal(SIGCHLD, sigchld_handler2);
child_terminated =...