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

Custom Wipe on linux fails #874

Open
JustinShift opened this issue Sep 15, 2023 · 0 comments
Open

Custom Wipe on linux fails #874

JustinShift opened this issue Sep 15, 2023 · 0 comments

Comments

@JustinShift
Copy link

Problem

When attempting to do a custom wipe of a folder. The UI in the admin panel says its successful but nothing happens on the client.

Logs

[hooks] Hook triggered: command
[actions] Starting action: wipe
[wipe] WIPING directories
[actions] Running wipe 95xxxxx-xxxxx-xxxxb8
[wipejs] /opt/prey-node-client/lib/agent/actions/wipe/linux/wipe-linux -dir "/xx/xxx/xxxx"
[wipe] Process finished! 0 dir(s) removed.
[hooks] Hook triggered: error
[hooks] error on emitter{}
Error: No dirs were removed.
[actions] Error: {}
[actions] Stopped: wipe

Troubleshooting

  • If I manually run wipe-linux as myself it successfully removes the files/directory.
  • If I manually run wipe-linux as the prey user I get a permission denied error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant