SE alert

Ed Greshko ed.greshko at greshko.com
Sun Jul 19 02:20:15 UTC 2015


On 07/19/15 10:15, jd1008 wrote:
> Well, now, this is interesting:
>
> $ sudo ls -l -i -R /root | grep 47972353    <<<<< Produced no output
> $ sudo ls -l -d -i -R /root | grep 47972353 <<<<<< adding the -d option, however:
> 47972353 dr-xr-x---. 9 root root 4096 Jul  2 14:03 /root
> $
>
> I really want to find which daemon/process is ultimately causing sh to try
> to read /root and open it for reading?
> Hopefully that might shed some light on why it is happening. 

First make sure it is labeled correctly

[egreshko at meimei ~]$ ls -Zd /root
system_u:object_r:admin_home_t:s0 /root

-- 
If I wanted a blog or social media I'd go elsewhere


More information about the users mailing list