Re: [PATCH] Don't fetch UID/GID for SFTP files



Am Mittwoch, den 12.07.2006, 23:54 +0200 schrieb Christian Kellner:
> Hey there,
> 
> > We're currently using the UID/GID provided from the SFTP server, but
> > this is deprecated in recent sftp drafts [1]. 
> Is anybody actually following recent versions of the draft? Isn't
> OpenSSH still using version 3 or so? I remember having seen nice
> additions of functions but nobody implemented them.

This is true, but we should encourage server authors to implement recent
drafts by implementing them on the client side :).

Without these modifications, SFTP isn't really interoperable.

> I also totally think that in most of the cases the UID/GID information
> might be totally useless but there are certain setups (in cooperate
> environments) where they actually make sense (central user database). So
> this is another trade off I guess.

Recent drafts suggest that ownership should be flagged using user/group
strings, which can be used across operating systems.

> Well, since the recent draft deprecates it, it's probably a good idea to
> get rid of it anyway. We only loose the ability to change the GID in
> nautilus, right? So if somebody has objections please cry otherwise I am
> fine with the patch.

We also loose the ability of displaying the UID/GID. Maybe we should
keep the functionality in GnomeVFS for now, but make Nautilus and other
client applications ignore the UID/GID for determining whether chmod is
possible for remote file systems, until we have a string-based ownership
mechanism.

-- 
Christian Neumair <chris gnome-de org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]