From: Stuart Longland <stuartl@longlandclan.id.au>
To: b43-dev@lists.infradead.org
Subject: Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
Date: Fri, 6 May 2016 04:11:40 +1000 [thread overview]
Message-ID: <572B8CDC.20204@longlandclan.id.au> (raw)
In-Reply-To: <CACna6rx90=u7ZSY6ZXjWw4CicEQR6Ty-iEc_G9ACLL0j9EfJLg@mail.gmail.com>
On 06/05/16 01:37, Rafa? Mi?ecki wrote:
>> sudo echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
>> > bash: /sys/bus/pci/drivers/bcma-pci-bridge/new_id: Permission denied
> Not sure why it happens
echo "14e4 43ae" | sudo tee /sys/bus/pci/drivers/bcma-pci-bridge/new_id
That should work. The reason why the other didn't work is because you
were running the 'echo' command as root, but then the re-direction was
being done by a shell that was running as a user.
`sudo` is not a magic shell built-command, it's just a suid-root binary,
and merely passes on the arguments the shell gives it.
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20160506/93caabd4/attachment.sig>
prev parent reply other threads:[~2016-05-05 18:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-30 8:38 Planned Support for BCM 43162 [14e4:43ae] rev 02 ? Jan Sobotka
2016-05-04 18:42 ` Rafał Miłecki
[not found] ` <3Fn.2TId.FHuvjLBV4z.1NAsIY@seznam.cz>
2016-05-05 15:37 ` Rafał Miłecki
2016-05-05 16:22 ` Jan Sobotka
2016-05-06 0:03 ` Rafał Miłecki
2016-05-06 11:19 ` Jan Sobotka
2016-05-09 9:40 ` Arend Van Spriel
2016-05-05 18:11 ` Stuart Longland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=572B8CDC.20204@longlandclan.id.au \
--to=stuartl@longlandclan.id.au \
--cc=b43-dev@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox