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

DOCS-3183: Add where data capture directory is for sudo users #3910

Merged

Conversation

sguequierre
Copy link
Contributor

  • confirmed with nick sanford

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Jan 24, 2025
Copy link

netlify bot commented Jan 24, 2025

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit c3b64d3
🔍 Latest deploy log https://app.netlify.com/sites/viam-docs/deploys/67993fa8ef3d910008635a78
😎 Deploy Preview https://deploy-preview-3910--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 25 (🔴 down 10 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@npentrel npentrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have Nick approve this before merge

@@ -17,6 +17,7 @@ Data capture and cloud sync works differently for `viam-server` and `viam-micro-
{{% tab name="viam-server" %}}

The data is captured locally on the machine's storage and, by default, stored in the `~/.viam/capture` directory.
For root (sudo) users, the `~/.viam/capture` directory resolves to `/root/.viam/capture`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For root (sudo) users, the `~/.viam/capture` directory resolves to `/root/.viam/capture`.
For Linux root or sudo users, the `~/.viam/capture` directory resolves to `/root/.viam/capture`.
For MacOS users, it resolves to `/var/root/.viam/capture`.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicksanford is this correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where it will be on macos.

I recommend running it & seeing what is logged.

@sguequierre sguequierre requested a review from npentrel January 28, 2025 20:36
@sguequierre sguequierre merged commit 6c7f9be into viamrobotics:main Feb 3, 2025
12 checks passed
@sguequierre sguequierre deleted the DOCS-3183/sudo-root-directory branch February 3, 2025 19:09
Copy link

github-actions bot commented Feb 3, 2025

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs (https://docs.viam.com)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to build This pull request is marked safe to build from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants