[CentOS] r-x and r-x.

Wed Apr 24 14:40:35 UTC 2013
Dirk Olmes <dirk.olmes at exentra.de>

On 04/24/2013 04:50 PM, Johan Vermeulen wrote:
> Dear All,
> 
> I'm currently troubleshooting NetworkManger scripts.
> 
> I see a difference in machine A :
> 
> drwxr-xr-x 2 root root 4096 apr 24 16:33 .
> drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
> -rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
> -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
> -rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
> 
> and machine B:
> 
> drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
> drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
> -rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
> -rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
> -rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
> 
> the difference being -rwxr-xr-x and -rwxr-xr-x.
> 
> so with or without a dot (.)
> 
> Does that mean anything?

Yes, the dot is a hint that SELinux attributes are set on those files.
Run ls -Z to see them.

-dirk