PDA

View Full Version : Trying to change execute permission on file owned by root:root



jpitz31
2021-10-14, 18:33
Running Kali 2021.3

ls -la reads as the following

-rw-r-- r-- 1 root root 0 Oct 13 09:53 /proc/sys/net/ipv4/ip_forward

I have tried sudo chmod 744 /proc/sys/net/ipv4/ip_forward

I receive chmod: changing permissions of '/proc/sys/net/ipv4/ip_forward': Operation not permitted.

I have also tried logging on as root directly and still the same issue

same goes for sudo chmod +x /proc/sys/net/ipv4/ip_forward


Some assistance would be greatly appreciated.

Thanks

Joe