weird xzcat behaviour

Mark Haney mhaney at practichem.com
Tue Apr 1 15:27:17 UTC 2014


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

I've been volunteered to try to build a boot image for a Nitrogen 6x
Freescale SOM board using whatever OS I can make work.  I chose
Fedora's ARM image since I'm more comfortable with using Fedora.  In
the process of trying to using xzcat to dump the image to the microSD
card I noticed something strange.  When I tried:

sudo xzcat Fedora-Minimal-armhfp-20-1-sda.raw.xz > /dev/sdb

I would get a 'Permission denied' error.

But when I ran the same command as root directly, it worked just fine.
 I'm not sure I've ever encountered a situation where sudo wouldn't
work like this before. Is there a particular reason for this?  Or is
this a bug?  For the record, I changed nothing on the device between
attempts to xzcat the image.


- -- 
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/

iQEcBAEBAgAGBQJTOtrPAAoJEM/YzwEAv6e7MeMIAKvFcm0A6BymvDMlYCFbhbBl
ypawxiYb2uarEKiPOAYO6mLKWFqk7JPHBVfQQcKDgQsJO/KiFb0GOaDoE3Cas8CF
nZG2RlhwO8nxQvFJhQjiPctR0Akom2stBuwM2lTkpBu5JL4keU9iA5/ctRW5wVk9
k51FxYoiKrNpzjTNQRqNNBNYXcwfR1HFB8QsMkgrYn0WdkHYOyxzfr7WcuW8B1Ae
pjEi2GTy6hqVi2k+2Br61NzNgryZ9zZbu0wo95oFQxSJelJksXOo6C6/3KgBhtcM
nQWikeRHMi9LtyGUeE0UobI2lCM6phUv7gTNNK9S67Qb/cmJ65jKamGtbggg8mE=
=B8Ru
-----END PGP SIGNATURE-----


More information about the users mailing list