[BACK]Return to sftp-int.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/sftp-int.c between version 1.4 and 1.5

version 1.4, 2001/02/04 21:41:21 version 1.5, 2001/02/04 22:17:52
Line 502 
Line 502 
                 a.flags |= SSH2_FILEXFER_ATTR_PERMISSIONS;                  a.flags |= SSH2_FILEXFER_ATTR_PERMISSIONS;
                 a.perm = n_arg;                  a.perm = n_arg;
                 do_setstat(in, out, path1, &a);                  do_setstat(in, out, path1, &a);
                   break;
         case I_CHOWN:          case I_CHOWN:
                 path1 = make_absolute(path1, *pwd);                  path1 = make_absolute(path1, *pwd);
                 aa = do_stat(in, out, path1);                  aa = do_stat(in, out, path1);
                 if (!aa->flags & SSH2_FILEXFER_ATTR_UIDGID) {                  if (!(aa->flags & SSH2_FILEXFER_ATTR_UIDGID)) {
                         error("Can't get current ownership of "                          error("Can't get current ownership of "
                             "remote file \"%s\"", path1);                              "remote file \"%s\"", path1);
                         break;                          break;
Line 516 
Line 517 
         case I_CHGRP:          case I_CHGRP:
                 path1 = make_absolute(path1, *pwd);                  path1 = make_absolute(path1, *pwd);
                 aa = do_stat(in, out, path1);                  aa = do_stat(in, out, path1);
                 if (!aa->flags & SSH2_FILEXFER_ATTR_UIDGID) {                  if (!(aa->flags & SSH2_FILEXFER_ATTR_UIDGID)) {
                         error("Can't get current ownership of "                          error("Can't get current ownership of "
                             "remote file \"%s\"", path1);                              "remote file \"%s\"", path1);
                         break;                          break;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5