-
Notifications
You must be signed in to change notification settings - Fork 19
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
Provide better feedback when a remote file can't be accessed. #132
Comments
Added the permissions as they exist for an ls -l at the time of failure. Somethings to consider before I merge this into master:
|
Charlie: I'm not in love with using ls for this ... we have functionality to lookup information via LDAP, could we use that instead? Take a look at what we've got in packages/slycat/web/server/directory.py and see what you think ... we could add some functionality to do lookups by uid / gid (note that the user() method misleadingly looks like it takes a uid, but it actually does a lookup by username). Cheers, |
Nice. That sounds better. |
Updated test to not require configuring. To test:
|
Code's in this branch - https://github.com/sandialabs/slycat/tree/file_perm_handling_over_ssh |
Charlie: Looking good, just have a couple of requests:
Back over to you :) |
Now leveraging ldap_query() (privately) for the user() method as well. |
and added tests for user() since it had to be refactored. |
The text was updated successfully, but these errors were encountered: