Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup UID and GID #3818

Closed
cyberduck opened this issue Oct 14, 2009 · 4 comments
Closed

Lookup UID and GID #3818

cyberduck opened this issue Oct 14, 2009 · 4 comments
Assignees
Labels
duplicate enhancement sftp SFTP Protocol Implementation

Comments

@cyberduck
Copy link
Collaborator

8cca6ec created the issue

When I'm working via scp I want to see user name and group name columns, because when I forget to set them correctly for new files and directories, websites of other users do not work, because the files then are owned by me instead of them. In the command shell using ssh and ls -l I see the names, but in cyberduck they are currently provided only in the Info window. Sometime cyberduck only displays the ID of user and group there. Usually it should be able to retrieve the names from /etc/passwd of the external server, if it is a unix machine. May be there is also an API for retrieving a username from the users ID and the group name from the group ID.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Choose View → Columns → Owner and View → Columns → Group.

@cyberduck
Copy link
Collaborator Author

georgmaass commented

there are two things:

first I was blind and did not detect where to enable displaying the columns.
second, it displays only the ID numbers (better than nothing), but does not lookup the names. Could it be extended to resolving the names i.e. by looing tonto the servers /etc/passwd and /etc/group.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Should use SSH_FILEXFER_ATTR_OWNERGROUP.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Aug 10, 2010

@dkocher commented

Duplicate for #11965.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate enhancement sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants