Groups
Groups
Sign in
Groups
Groups
Learnadmin
Conversations
About
Send feedback
Help
[LearnAdmin] Remove dot after file permissions on Linux
1,333 views
Skip to first unread message
Naresh Surampudi
unread,
Jan 31, 2013, 4:09:08 AM
1/31/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to learnadmin+g...@googlegroups.com
annoyed seeing . after file permissions and want to remove it
drwxr-xr-x. 3 testuser1 testuser1 4096 2013-01-27 19:26 testfile
find . -print0 |xargs -0 -n 1 sudo setfattr -h -x security.selinux
Reason for that :
dot is actually an selinux security context
Type ls -Z command you will see the SELinux applied security context:
ls -Z /var
ls -Z /home
ls --lcontext /etc
For more read below
http://fedoraproject.org/wiki/Security_context
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/chap-Security-Enhanced_Linux-SELinux_Contexts.html
--
Posted By Naresh Surampudi to
LearnAdmin
at 1/31/2013 02:39:00 PM
Reply all
Reply to author
Forward
0 new messages