Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the dot at the end of the permissions in the output of "ls -lah" mean? [closed]

Tags:

I found some Linux files, and when I type ls -lah, it outputs this permissions format:

...  drwxr-xr-x.  2 root    root   ... -rw-rw-r--.  1 root    root  ... 

I would like to know, what is the meaning of the dot (-rw-rw-r--.) at the end of the permissions format?

like image 816
miller Avatar asked Jun 02 '15 11:06

miller


People also ask

What does dot mean in Linux ls?

Dot “.” Dot or “.” refers to the “Current User Directory.” Write out the below-given command in your terminal. $ ls -al. In the output, you can see the line ending with “.”. That dot states that this is your current directory.

What is the at the end of permissions in Linux?

It means your file has extended permissions called ACLs. You have to run getfacl <file> to see the full permissions.

What does AT END OF ls mean?

It means the file has extended attributes. You can use the -@ switch to ls to view them, and xattr to modify/view them.

What does t mean at the end of permissions?

t will be in place of others permission and in place of execute permission. So it means that t is for execute + sticky bit. T means only sticky bit without execute permission.


1 Answers

From info coreutils 'ls invocation' under Linux

 GNU `ls' uses a `.' character to indicate a file with an SELinux      security context, but no other alternate access method.  A file with any other combination of alternate access methods is      marked with a `+' character.  
like image 192
phoxis Avatar answered Oct 14 '22 05:10

phoxis