prey-node-client
prey-node-client copied to clipboard
Custom Wipe on linux fails
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 theprey
user I get a permission denied error.