Re: weird xzcat behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 04/01/14 11:33, Chris Adams wrote:
> Once upon a time, Mark Haney <mhaney@xxxxxxxxxxxxxx> said:
>> sudo xzcat Fedora-Minimal-armhfp-20-1-sda.raw.xz > /dev/sdb
>> 
>> I would get a 'Permission denied' error.
> 
> That's because the "> /dev/sdb" was parsed and handled by your
> user shell (redirection is handled by the shell before running the
> command). sudo only got "xzcat
> Fedora-Minimal-armhfp-20-1-sda.raw.xz" as arguments.  You should be
> able to quote what you want actually passed to sudo:
> 
> sudo "xzcat Fedora-Minimal-armhfp-20-1-sda.raw.xz > /dev/sdb"
> 

Well, someone on the Fedora team needs to fix the documentation then.
 But now it makes sense.  I didn't stop to think about the redirect,
since my boss isn't giving me time to think.  Apologies for spamming
the list.


- -- 
Mark Haney
Network/Systems Administrator
Practichem
W: (919) 714-8428
Fedora release 20 (Heisenbug) 3.13.6-200.fc20.x86_64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTOt+PAAoJEM/YzwEAv6e7csUH/i9Pdg5ItTz2MiVKFoY883md
vP+Fe6qehF6OGg9tPhkQh83w7bmWs4chL88ZEdJ9V4RJR0VAio2PP7oOu8ATUmsL
CdPtmdeGxhrK+g2UArfCxs0Y49qccFHK2GO3acok5nbuw++n/xrfOxLuKyJiXS6+
zOc31XQcoyBr5hANpc1BSPjldDtHclIWa7lgTKffEeEk3lNKYlLIh/aSEJ+Bd6OL
ZyYQ//rvEGXtG/EqE5t19bzTumdENVt37LczlkDOneo4AMY0WaKVHdCkZOJHlgr0
sc0gnaW/2TegZG/am7DHiDpIRqKQ93Liq5Fns0Jk0qYpADMk2ASdRnnYJxDLrXU=
=qb0I
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux