Re: sftp + ls not working properly

From: Tony Gale (gale@dstl.gov.uk)
Date: 03/27/02


From: gale@dstl.gov.uk (Tony Gale)
Date: 27 Mar 2002 14:36:44 GMT

In article <a18ea926.0203270608.75479ae6@posting.google.com>,
        piotr_wolak@yahoo.com (Piotr Wolak) writes:
>
> Do you know why the ls command does not convert UID and GID into real
> user name and group name ? Which is the default ls binary use by sftp
> ?
>

The sftp protocol sends the uid/gid file attributes as numerical values.
There is no provision within the protocol for sending the values as
names.

-tony



Relevant Pages

  • Re: Changing UID and GID -> Some GUI problems.....
    ... Each user has the same UID and GID on every server. ... The usermod command modifies the system account files to reflect ... command is showing the "right" files/directories first! ...
    (alt.os.linux.redhat)
  • Cannot install VMware-server-1.0.10
    ... but when running the command ... task_struct' has no member named 'uid' ... task_struct' has no member named 'gid' ... For more information on how to troubleshoot module-related problems, ...
    (Fedora)
  • Re: (simple?) question; how to list all root users?
    ... both uid and gid 0 ... I used this command to find out root-equivilent users on all my AIX ...
    (comp.unix.aix)
  • Mount question
    ... How do I issue the 'mount' command so that I can tell it the uid an gid ... of the newly mounted filesystem? ...
    (freebsd-questions)
  • Re: pscp ls --time-style=long-iso display
    ... Why not just use ssh to execute the ls command you want on the remote ... rather using the sftp protocol? ... Richard Silverman ...
    (comp.security.ssh)