Bug 427

Summary: sftp does not preserve uid/gid on fetch
Product: Portable OpenSSH Reporter: gfernandez
Component: sftpAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WONTFIX    
Severity: normal    
Priority: P3    
Version: -current   
Hardware: All   
OS: All   
Attachments:
Description Flags
changes to preserve uid/gid on fetch
none
changes to preserve uid/gid on fetch none

Description gfernandez 2002-11-07 01:11:03 AEDT
currently sftp does not attempt to preserve uid/gid on fetch.

If sftp is running as root, it could preserve uid/gid.

Note: a possible objection to implementing this was raised. Namely, whether 
uid/gid will make sense when sftp is being used in a cross platform case.
Comment 1 gfernandez 2002-11-07 01:12:10 AEDT
Created attachment 167 [details]
changes to preserve uid/gid on fetch

this is a possible change to preserve uid/gid on fetch
Comment 2 gfernandez 2002-11-08 02:14:26 AEDT
Created attachment 175 [details]
changes to preserve uid/gid on fetch

changes to sftp-client.c
Comment 3 Damien Miller 2003-01-03 15:14:41 AEDT
This is almost useless to most people, as there will be no correspondance
between remote [ug]ids and local ones. 

Future versions of the filexfer draft will add support for sending the user and
group names, which we'll support when we support that version of the protocol.
Comment 4 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED