operation not permitted

R C cjvijf at gmail.com
Tue Mar 12 21:41:35 UTC 2024


On 3/12/24 15:14, Jerry Geis wrote:
>
>
> 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 ?
>
the RHEL knowledge site says these things are all kernel parameters, set 
in the BIOS or as actual kernel parameters


>     ... 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/7ea6ee3b/attachment-0001.html>


More information about the ubuntu-users mailing list