operation not permitted
Jerry Geis
jerry.geis at gmail.com
Tue Mar 12 21:14:07 UTC 2024
On Tue, Mar 12, 2024 at 5:11 PM Karl Auer <kauer at biplane.com.au> wrote:
> On Tue, 2024-03-12 at 09:17 -0400, Jerry Geis wrote:
> > echo "performance" > /sys/module/pcie_aspm/parameters/policy
> >
> > bash: echo: write error: Operation not permitted
> >
> > I am root at the time.
>
> Are you actually root, or are you executing the command with sudo?
>
> If with sudo, the redirection gets processed before the escalation, so
> you are actually trying to write that file as yourself, not root.
>
> Otherwise, I don't know :-)
>
> Regards, K.
>
> PS: This:
>
> > How do I change pcie_aspm in real time ?
>
> ... is a great question, because it tells us what you are actually
> trying to do, and there may be other ways to achieve that.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au, he/him)
> http://www.biplane.com.au/kauer
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Its my machine - I am SU root
not sudo
jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240312/04dbeac5/attachment.html>
More information about the ubuntu-users
mailing list