Re: Curious Behavior doing routine redirection of ping output to (selinux: message 2 of 12) file...

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

 



Daniel J Walsh wrote:
ping runs under the ping_t domain and it is not allowed to write to the home dir. When you redirect in shell, shell has the application open the file which is not allowed. A hack to get around this problem is

ping XYZ | cat > /home/dwalsh/myping

It's actually the shell that opens the file for input or output
redirection, so apparently SELinux is denying a write to a file
that is already open for writing.  Curious.

--
Bob Nichols         Yes, "NOSPAM" is really part of my email address.

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux