Hey all,
I was curious as to what a recommended approach would be to getting rid of a single file in a firefox profile directory. The command to do what I'd like would be:
find /Volumes/Users/logname/Library/'Application Support'/Firefox/*/* -name ".parentlock" -exec rm "{}" ;
I want to publish it out via self service; it works if I use that exact command on a workstation. However, looking at the logs, it tells me that the file or folder doesn't exist...and of course...they do.
I'm not much of a programmer, but am just using the execute command portion in the advanced section of the policy I've created for this. I've used a ton of variables and even made the script longer than it needed to be. What was a pain was that I need it ran as the specific user, and SS executes as root. I'm not sure if that's playing a role in all of this, but it's a simple command that I'm sure someone can hopefully shed some light on.
Thanks so much,
Brian
