Re: [RESEND PATCH] tools/power/x86/intel_pstate_tracer: Adjust directory permissions

From: Rafael J. Wysocki
Date: Sun Apr 16 2017 - 18:57:40 EST


On Sun, Apr 16, 2017 at 5:17 PM, Doug Smythies <doug.smythies@xxxxxxxxx> wrote:
> Depending on what is being done, the intel_pstate_tracer.py script
> needs to be run as root, or can be run as a regular user.
> If run the first time as root the results directory will be
> incorrect for any subsequent run as a regular user.

Which is OK.

For security reasons, non-root should not be able to modify root-owned
directories.

Thanks,
Rafael