01.04.2014 17:27, Mark Haney: > 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. There's nothing strange or weird with that. While xzcat is run via sudo with elevated rights, the output redirection is done by the user's shell (i. e. *not* with elevated rights). Do, for example, something like sudo date > output.file and look who's output.file's owner. -- Regards mks -- 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