[CentOS] r-x and r-x.

Wed Apr 24 18:57:45 UTC 2013
Johan Vermeulen <jvermeulen at cawdekempen.be>

Dear All,

thanks for the responses.

Indeed, on machine A, Selinux is disabled.

-bash-4.1# selinuxenabled && echo enabled || echo disabled
disabled

and on machine B, it's enabled.

I will test the script again on B with Selinux disabled.

Greetings, J.

Op 24-04-13 18:06, Ian Forde schreef:
> Yep - you'll want to do a 'ls -lZ' on both dirs and compare the
> differences...
> On Apr 24, 2013 8:32 AM, "Larry Martell" <larry.martell at gmail.com> wrote:
>
>> On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen
>> <jvermeulen at cawdekempen.be> 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?
>>>
>>> Thanks for any advise on this.
>>
>> The . means the file has an access list with SELinux. You could try
>> disabling SELinux on machine B and seeing if that fixes the issue.
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos