Permission Please to Read?

  • Thread starter Thread starter Zedo
  • Start date Start date
Z

Zedo

Hello,
Probably something simple I am missing but basically why will nano read the file and a small cat script (rme) not? Script at bottom.

Copied rme to root. Changed own and group of rme. At no time would it read ufw.log. Why does nano read it and rme does not?

-rwxr-xr-x 1 root root 51856 Jan 26 2013 /bin/cat
-rwxr-xr-x 1 root root 192504 Jun 22 2012 /bin/nano
-rwxr-xr-x 1 root root 41 Apr 29 09:45 rme
-rw-r----- 1 root root 5583 Apr 29 09:22 ufw.log
-----------------------------------------------------
#!/bin/sh
#rme
cat /home/coot/Desktop/ufw.log

Continue reading...
 
Back
Top