The right of /etc/security/limits.conf is 644
When i use python:
>>import os;
>>os.access("/etc/security/limits.conf", os.W_OK);
False
The linux has disable the SELinux, i am confusion now.
And, when i vi this file, there is "[readonly]" at the bottom, others file with the same rights(644), there is not this prompt.
So i guess is certain security system keep this file readonly even with 644, it is bad i don't get it.
/etc/security/limits.conf with 644, but prompts "readonly"
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: /etc/security/limits.conf with 644, but prompts "readonly"
The dot at the end of the permissions means there are extended attributes set.