[Bug 6386] [Busybox - Sysctl ] sysctl trying to read the write only files.

bugzilla at busybox.net bugzilla at busybox.net
Tue Jul 16 11:56:58 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6386

--- Comment #1 from Gokul S <spgokul at gmail.com> 2013-07-16 11:57:04 UTC ---
Analysis : 

Sysctl -a option will  Display all values currently available (all values
inside /proc/sys/)

net.ipv4.route.flush entry ( /proc/sys/net/ipv4/route/flush ) corresponds to a
write only file , used to flush the route information.

root at SMM:~# ls -l /proc/sys/net/ipv4/route/flush
--w-------    1 root     root             0 Jun 14 17:38
/proc/sys/net/ipv4/route/flush

sysctl -a option trying to read the /proc/sys/net/ipv4/route/flush file. As it
is write only, it is throwing following message.

"sysctl: error reading key 'net.ipv6.route.flush': Permission denied"

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list