docs(sdk): add file permission errors troubleshooting#237
Conversation
Documents the "server misbehaving" DNS error pattern caused by unreadable /etc/resolv.conf or /etc/hosts on Linux, Docker volume ownership mismatches, and SDK-level file I/O permission errors. Adds cross-reference between the two troubleshooting pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- check.sh: add home directory writability check for install directory - quickstart: add Linux file permission troubleshooting cross-reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the documentation by providing comprehensive troubleshooting guides for file permission-related issues across both the platform and SDKs. It aims to reduce user frustration by clarifying cryptic error messages, such as "server misbehaving," and offering actionable steps to diagnose and resolve common permission problems, thereby improving the overall user experience and reducing support inquiries. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds valuable troubleshooting documentation for file permission errors, a common source of confusion for users. The changes are clear and well-structured. I've made a few suggestions to improve the consistency and clarity of the shell commands provided in the documentation and the pre-flight check script. Specifically, I've recommended standardizing the chown command to set both user and group, ensuring chmod commands cover all relevant files, and refining a diagnostic ls command for more focused output.
|
📄 Preview deployed to https://opentdf-docs-pr-237.surge.sh |
- Use $USER:$USER in chown commands (user + group) - Include /etc/hosts in resolv.conf chmod fix in troubleshooting.mdx - Use ls -ld instead of ls -la for home directory permission check Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
Summary
getting-started/managing-platformtroubleshooting — covers Docker volume ownership mismatches, unreadable/etc/resolv.conf//etc/hosts, and install directory permissions. Documents the"server misbehaving"gRPC error as a common symptom.sdks/troubleshooting— covers SDK-level file I/O errors with cross-reference to the platform guidecheck.shPlatform examples to be merged in: opentdf/platform#3141
Test plan
/getting-started/managing-platform#file-permission-errors-linuxresolves correctlycheck.shand confirm new home directory check appears in output🤖 Generated with Claude Code